Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Search and Rescue Script

 
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 >> Search and Rescue Script Page: [1]
Login
Message << Older Topic   Newer Topic >>
Search and Rescue Script - 2/7/2016 6:39:35 PM   
dippysea

 

Posts: 24
Joined: 5/13/2015
Status: offline
Ok, This script will auto create a wreck or liferaft. It will give you 20 minutes to get within 20 miles of the Pilot. If you don't get there in time their family will be informed.
If I could identify the dbid of the unit in the area it would be betterso I can check it is SAR capable. At the moment it is ANY Player aircraft that gets there that rescues them.
You can only rescue one pilot at a time



-- Make Sure there is
-- 1 A Side called DippyLogic
-- 2 4 Reference Points in DippyLogic side called DIPPYSAR1,DIPPYSAR2,DIPPYSAR3,DIPPYSAR4
-- 3 An Event with Trigger and Action for "Unit Destroyed" calling lua script Dippy_EventUnitDestroyed()
-- 4 An Event with Trigger and Action for "Unit Enters Area" calling lua script Dippy_EventUnitEntersArea()
-- 5 Run This Script "DownedPilot.lua"



Attachment (1)
Post #: 1
RE: Search and Rescue Script - 2/7/2016 6:41:38 PM   
dippysea

 

Posts: 24
Joined: 5/13/2015
Status: offline
The Trigger "Unit Enters Area" must have the 4 points DIPPYSAR1,DIPPYSAR2,DIPPYSAR3,DIPPYSAR4 in it

(in reply to dippysea)
Post #: 2
RE: Search and Rescue Script - 2/7/2016 6:52:02 PM   
dippysea

 

Posts: 24
Joined: 5/13/2015
Status: offline
here is a scenario with the rights events and sides

run the script and then move the plane into the enemy.

then after move the HC-130J over the wreck ..... get rid of the enemy aircraft first

EDIT: Changed the scenario file ... it now has the enemy and only allows playing as friendly side



< Message edited by dippysea -- 2/7/2016 11:07:36 PM >

(in reply to dippysea)
Post #: 3
RE: Search and Rescue Script - 2/7/2016 10:06:18 PM   
dippysea

 

Posts: 24
Joined: 5/13/2015
Status: offline
To make life easier, the whole thing including script is in the following scene.

Just start the scenario and say goodbye to the two friendlies.

When the SAR helicopter gets near the crash site, set course for the centre.



Attachment (1)

(in reply to dippysea)
Post #: 4
RE: Search and Rescue Script - 2/8/2016 12:53:01 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Great work! I'm going to pull it apart and have a look later today. Very interesting.

(in reply to dippysea)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Search and Rescue Script 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

0.719