Instructions/Get Home

From Desynced Wiki
Revision as of 18:50, 11 September 2023 by Johan (talk | contribs) (Created page with "{{Infobox}} The "Get Home" component gets the factions Home Unit and writes the result to a Unit Register or a Variable. The result can then be referenced later as the home location. File:GetHome.png Writing the Home value to the Signal Register")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Get Home
     
     Gets the factions home unit
Lua ID gethome
Category Global
Icon Question.png
Argument One: Type Output
Argument One: Name Result
Argument One: Description Factions home unit


The "Get Home" component gets the factions Home Unit and writes the result to a Unit Register or a Variable. The result can then be referenced later as the home location.

Writing the Home value to the Signal Register