Method GameObject:UseDoorOrButton [-] [+]

Activates a door or a button/lever

Synopsis

GameObject:UseDoorOrButton( delay )

Arguments

number delay (0)

Cooldown time in seconds to restore the GameObject back to normal. 0 for infinite duration.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine