Activatable

This component allows the player to use your prefab. It has to deactivate somehow to be used again, and it doesn’t save its state (if you want those things, consider the machine component).

Component Activatable Fields

TypeNameDescription
functionOnActivateFires when the player interacts. Args: inst, doer
functionGetVerbA hidden function, which allows you to redirect the displayed action string to STRINGS content, rather than the default. Args: inst, doer
booleaninactiveIf this is false, the prefab cannot be used. It turns false everytime the prefab gets used.
booleanquickactionWhether the character briefly bends over or has to stand there and play the "fiddle around" animation

Example