Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Teleport or spawn?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Teleport or spawn? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Teleport or spawn? - 7/20/2020 2:04:52 AM   
djoos5


Posts: 382
Joined: 10/25/2013
From: Ohio
Status: offline
It has been a while since I did any scenario building and I am sure that these questions have been asked before, so forgive me if I ask again...

Is the Teleport action still the only way to simulate the 'spawning' of a unit (ie a marine platoon from a helicopter), or is there some new LUA code that allows me to spawn a unit by type and side?

Is there now LUA code that will change the side of a facility or unit to simulate its capture? Or do I need to still use the teleport action to port out the original and port in the same type unit assigned to the 'capturing' side?

Thanks in advance for the help?

_____________________________

Post #: 1
RE: Teleport or spawn? - 7/20/2020 3:33:58 AM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
Yes there are LUA functions to spawn a unit of a given type on a given side (and have been for awhile now, ScenEdit_AddUnit).
Yes there are LUA functions to change the side of a facility or unit to simulate it's capture (ScenEdit_SetUnitSide).
ref: http://commandlua.github.io/index.html

If you run into trouble or need help with something specific post in the lua legion sub forum.




(in reply to djoos5)
Post #: 2
RE: Teleport or spawn? - 7/20/2020 5:13:44 PM   
djoos5


Posts: 382
Joined: 10/25/2013
From: Ohio
Status: offline
Thank you very much!

_____________________________


(in reply to KnightHawk75)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Teleport or spawn? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.032