NoMansSky:Reference Guides/Actions and Triggers

From Step Mods | Change The Game
< NoMansSky:Reference Guides
Revision as of 00:19, July 29, 2020 by TechAngel85 (talk | contribs) (Created page with "__NOTITLE__ {{NMSPage|contentTitle=Reference Guides // Actions and Triggers}} == TriggerAction == '''<Data template="GcTriggerActionComponentData">''' Inside this environment...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TriggerAction[edit | edit source]

Inside this environment we can have Actions and Triggers. If this environment has an ID, the TriggerAction can be called from a SimpleInteraction as well as a normal Interaction.

If you want the set of ActionTriggers to only be called upon interaction, the game has a reserved ID that is loaded when the object in created. This ID is BOOT. If you create an ActionTrigger with the ID BOOT it will be run when the object is created, but it will also block other actions from happening. Once you interact, the ActionTrigger specified will be run, and you can chain/branch ActionTriggers from there.

For example usages see this list.

Triggers[edit | edit source]

Trigger Description
GcStateTimeEvent Triggered after the specified number of seconds has passed. Use this with a time of 0s as a default trigger if the actual trigger is the StateID only.

Actions[edit | edit source]

Template:NMSPageClose