Lua Question - return to port?

Post new mods and scenarios here.

Moderator: MOD_Command

Post Reply
User avatar
Gunner98
Posts: 5980
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

Lua Question - return to port?

Post by Gunner98 »

Just wondering if anyone has an example script for this function from SR7:
ADDED: Lua Function: Return to port

Thanks

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
bearhunter007
Posts: 23
Joined: Sat Mar 11, 2017 2:51 am

RE: Lua Question - return to port?

Post by bearhunter007 »

Good question Gunner98. Maybe michaelm can help out.
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Lua Question - return to port?

Post by michaelm75au »

Applies to port or airfield of the unit being referenced:
ScenEdit_SetUnit({ name='my unit', ... , RTB=true, ...})
Michael
User avatar
Gunner98
Posts: 5980
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: Lua Question - return to port?

Post by Gunner98 »

Thanks michaelm

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
bearhunter007
Posts: 23
Joined: Sat Mar 11, 2017 2:51 am

RE: Lua Question - return to port?

Post by bearhunter007 »

Thanks Michael
Post Reply

Return to “Mods and Scenarios”