Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: Dynamic Pilot Ejection And SAR Rescue (Must have v1.13)

 
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 >> Lua Legion >> RE: Dynamic Pilot Ejection And SAR Rescue (Must have v1.13) Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
RE: Dynamic Pilot Ejection And SAR Rescue (Must have v1... - 6/30/2018 3:12:26 AM   
hasler

 

Posts: 39
Joined: 7/31/2017
Status: offline
I know this is a little old but I am working with the SAR code right now. I would love to have the ability to use land and sea units to pick up pilots if they land in the area. I figured this line of code ties rescue to Air Units when it creates 15 sec remain in area trigger by this line:

-- Create Trigger With Reference Points
local addedTrigger = ScenEdit_SetTrigger({mode="add",type='UnitRemainsInArea',name=downedPilot.guid, targetfilter={TargetType = '1' , TargetSide=triggerUnit.side},area={referencePointOne.name,referencePointTwo.name,referencePointThree.name,referencePointFour.name},TD=15})

TargetType=1 is aircraft, 2=ships, 3=subs, 4=ground units. I broke the code when I removed target type or set it to 0, and I have not figured out how to create two triggers for the same event in the code. Is what I am trying to do even possible in this scripts framework? Any insight would be appreciated.

(in reply to angster)
Post #: 31
Page:   <<   < prev  1 [2]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> RE: Dynamic Pilot Ejection And SAR Rescue (Must have v1.13) Page: <<   < prev  1 [2]
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.078