User Tools

Site Tools


public_scripts:traitmachinereusable

TraitMachineReusable

An upgrade panel that can be used more than once. The machine is usable if it is unlocked. Sending TurnOn will unlock (enable) the machine and TurnOff will lock (disable) it. The lock is automatically set after the machine is used. The standard upgrade object has a tweqable joint that can be used to indicate if the panel is active. Use the Tweq\Lock property to have the joint move when the state changes.

Inherits BaseScript
Messages FrobWorldEnd, TurnOn, TurnOff, Used
Links Lock
Properties Engine Features\Locked, Player\Traits
Schemas (Event Activate)
public_scripts/traitmachinereusable.txt · Last modified: 2010/11/22 19:06 (external edit)