OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: max_killer_payne on 21 Oct 2002, 22:27:01

Title: Spawning units
Post by: max_killer_payne on 21 Oct 2002, 22:27:01
Hi there,

Im trying to work on a script that will improve on some missions. On some missions you might get lost on a poorly designed mission and spend ages wondering around the map. Well Im trying to make up a script that spawns a chopper and it flies to your postition and takes you either to your next waypoint or back to the main base, or starting point.

But can some1 give me the line to spawn a UH60,

cheers,

c ya

max_killer_payne
Title: Re:Spawning units
Post by: Diealot on 06 Nov 2002, 17:01:01
Check out the script called Dynamic Helicopter Extraction Scripts.
It puts a pickup and drop off raido command and the helo will get your position, come pick you up and become part of your group allowing to to command it to move to a new location. Once it drops you off it will leave your group andf go back to its base. Here is the Link http://www.ofpec.com/includes/download.php?type=2&id=42 (http://www.ofpec.com/includes/download.php?type=2&id=42)