Instructions/Get Self

From Desynced Wiki
Revision as of 05:54, 17 September 2023 by Johan (talk | contribs) (informational)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Get Self
     
     Gets the value of the Unit executing the behavior
Lua ID get_self
Category Math
Icon Set Register.png
Argument One: Type Output
Argument One: Name Result



Description

Gets self.

Uses

Captures the owner of the Behavior Controller into a register. This is useful in cases where you desire to check if a signal is referring to the current entity or to pass the current entity in a signal.

Similar Instructions