CorsixTH Lua Documentation

MultiUseObjectAction Class

Declared on: line 21 of Lua/humanoid_actions/multi_use_object.lua.
Inheritance: MultiUseObjectAction ยป HumanoidAction

Method Index

Member Index

(*) only used in superclass methods
function MultiUseObjectAction:MultiUseObjectAction(object, use_with)

Construct a multi-use object action.

Parameters:

NameTypeDescription
object Object Object being used.
use_with Humanoid Fellow user of the object.

Declared on: line 26 of Lua/humanoid_actions/multi_use_object.lua.

function MultiUseObjectAction:setInvisiblePhaseSpan(span)

Set the invisibility span.

Parameters:

NameTypeDescription
span array Span of invisibility, {from, to}

Declared on: line 40 of Lua/humanoid_actions/multi_use_object.lua.

function MultiUseObjectAction:setLayer3(layer3)

Set animation layer3 to the given value.

Parameters:

NameTypeDescription
layer3 int Value to set for animation layer 3.

Declared on: line 62 of Lua/humanoid_actions/multi_use_object.lua.

function MultiUseObjectAction:setProlongedUsage(prolonged)

Set prolonged usage of the object.

Parameters:

NameTypeDescription
prolonged bool If set, enable prolonged usage of the object.

Declared on: line 52 of Lua/humanoid_actions/multi_use_object.lua.