Page 1 of 1

Lua Question - return to port?

Posted: Sat Mar 25, 2017 1:42 pm
by Gunner98
Just wondering if anyone has an example script for this function from SR7:
ADDED: Lua Function: Return to port

Thanks

B

RE: Lua Question - return to port?

Posted: Sat Mar 25, 2017 5:15 pm
by bearhunter007
Good question Gunner98. Maybe michaelm can help out.

RE: Lua Question - return to port?

Posted: Sun Mar 26, 2017 1:55 am
by michaelm75au
Applies to port or airfield of the unit being referenced:
ScenEdit_SetUnit({ name='my unit', ... , RTB=true, ...})

RE: Lua Question - return to port?

Posted: Sun Mar 26, 2017 7:02 am
by Gunner98
Thanks michaelm

B

RE: Lua Question - return to port?

Posted: Sun Mar 26, 2017 12:47 pm
by bearhunter007
Thanks Michael