Instructions/Get Home

From Desynced Wiki


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.