Instructions/Get Home: Difference between revisions

From Desynced Wiki
No edit summary
No edit summary
 
Line 2: Line 2:
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.
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]]
{{Instruction_Bottom}}
 
Writing the Home value to the Signal Register

Latest revision as of 09:44, 1 August 2025


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.