OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Meatball0311 on 22 Dec 2005, 16:38:55

Title: Need a simple script
Post by: Meatball0311 on 22 Dec 2005, 16:38:55
Good day ladies and gentilmen,

I need a simple script for helo landing,  I figured out how to call a helo to my pos, but what I want is for the helo when it reaches my pos to automatically land.  I need simple variables. thank you
Title: Re:Need a simple script
Post by: Wadmann on 22 Dec 2005, 17:31:54
A little bit of searching in the Editors Depot (http://www.ofpec.com/editors/index.php) resulted in these options:

Bloodmixer's 1.46 Chopper land script (http://www.ofpec.com/editors/resource_view.php?id=187)

Robino's Chopper Dynamic Control MP/SP supported (http://www.ofpec.com/editors/resource_view.php?id=795)

Or one of my favorites (if you do not want to use snYpir's SP/MP Support Pack (http://www.ofpec.com/editors/spt_pack.php)):

Kammak's General Purpose Helo Script (http://www.ofpec.com/editors/resource_view.php?id=705)

and

snYpir's Quick Helicopter Landings (http://www.ofpec.com/editors/resource_view.php?id=316)

I have heard mixed results in using the land (http://www.ofpec.com/editors/comref.php?letter=L#land) command so you may be better off using one of the latter scripts.

Happy landings!

Wadmann

Title: Re:Need a simple script
Post by: yankme on 23 Dec 2005, 01:16:54
what is do for a real simple one is go into F1, empty, objects then fine H invisible ( makes an unseen heli pad) place that near you the chopper will want to land on it then in the WP make it LOAD, put ,,,,, use this in modification with your scripts if it helps
Name land"land";
this flyinheight 0     =this keeps the chopper running
so it should look like this
   
Quote
heli1 land"land"; this flyinheight 0
Title: Re:Need a simple script
Post by: LoTekK on 23 Dec 2005, 11:22:53
Actually, instead of that, you could simply use
Code: [Select]
chopper land "get in"The chopper will keep its engine running, and will take off once it's loaded up.
Title: Re:Need a simple script
Post by: Terox on 25 Dec 2005, 18:57:21
add to that groupname lockwp true
until you want the helo to move off,

then groupname lockwp false

and it should be fine
Title: Re: Need a simple script
Post by: GunnerySargeantBeckett on 18 Jun 2006, 16:54:20
You can simply use the
 disembark order