Page 1 of 1
set home base
Posted: Mon Dec 23, 2019 12:00 am
by orca
Is there a way to set a unit's home base using LUA? If yes can someone provide an example code?
Thanks
RE: set home base
Posted: Mon Dec 23, 2019 10:39 am
by kevinkins
Best if the exact syntax comes from one of the experts, but in the meantime check out the ScenEdit_SetUnit function in the lua documentation:
http://commandlua.github.io/index.html#ScenEdit_SetUnit
Under the Unit descriptor, there is a "base" parameter. This might get you started.
Kevin