Modify Script Active State LPK_ModifyScriptActiveStateOnEvent.cs

Enables/disables the active state of scripts.

Suggested use:

Turn scripts active state on or off upon receiving an event. Use to alter the abilities of an object, temporarily or permanently.

Examples found in: Project 4

Components
Property Type Description Default Value
Component Properties
Toggle type LPK Toggle Type How to change the active state of the declared script(s). ON
Modify Scripts Array of Scripts Script(s) to change the active state of. 0
Event Receiving Info
Event Trigger LPK Event Object Which event will trigger this component's action. None
Debug Properties
Print Debug Info Boolean Toggle console debug messages. False
Label String Notes for the user about this component. This does nothing to the game or build. None