Category:ProtoFlux:Flow:Events: Difference between revisions

Category page
m fix links
Updated OnStart and OnLoaded explanations
 
Line 4: Line 4:
|OnDestroy|| Fired upon the destruction of the node.
|OnDestroy|| Fired upon the destruction of the node.
|OnDestroying|| Fires when the node is marked for destruction in the next game tick.
|OnDestroying|| Fires when the node is marked for destruction in the next game tick.
|OnDuplicate|| Fires when the node under something duplicated
|OnDuplicate|| Fires when the node under something duplicated.
|OnLoaded|| Fires when the node has initialized and compiled.
|OnLoaded|| Fires for the allocating user (excluding duplication).
|OnPaste|| Fires when the node is under something pasted (Ex: Via ResRec URI)
|OnPaste|| Fires when the node is under something pasted (Ex: Via ResRec URI).
|OnSaving|| Fires on the game tick before the item is saved with the world or to inventory.
|OnSaving|| Fires on the game tick before the item is saved with the world or to inventory.
|OnStart|| Only Fires if the node is loaded with the world save in a new session. (Ex: Previously saved in the world)
|OnStart|| Fires when it starts existing for the local user.
}}
}}
[[Category:ProtoFlux:Flow]]
[[Category:ProtoFlux:Flow]]

Latest revision as of 12:23, 11 October 2025

Nodes
Node Name Description
OnActivated Fires when this node's hierarchy is enabled.
OnDeactivated Fires when this node's hierarchy is disabled.
OnDestroy Fired upon the destruction of the node.
OnDestroying Fires when the node is marked for destruction in the next game tick.
OnDuplicate Fires when the node under something duplicated.
OnLoaded Fires for the allocating user (excluding duplication).
OnPaste Fires when the node is under something pasted (Ex: Via ResRec URI).
OnSaving Fires on the game tick before the item is saved with the world or to inventory.
OnStart Fires when it starts existing for the local user.