Jump to content
Sign in to follow this  
b00tsy

parachute - on timer

Recommended Posts

I would like to have some enemy parachutes drop in to an ao (without chopper) after a certain time. When I use them now they automaticaly drop from the sky on the start of the mission. Is there a simple command line so that can put those parachutes on hold and then after 5 minutes they activate and are visible and drop on the ground?

Been searching in the biki, but I can only find stuff about halo jumps and parajumps from choppers.

And while I am at it, is this also possible for infantry troops that they activate after a certain time?

Share this post


Link to post
Share on other sites

You can call the halo script on demand to make someone fall from x height. Just keep your AI guys off to the side of the map or something (or even spawn them in) then setPos them where you want them and run the HALOinit script.

unit setPos getPos wherever; [unit, 800] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"

Edited by kylania

Share this post


Link to post
Share on other sites

Two methods:

1) Create and setpos the parachutes above the area of operations at the correct time. You may then move or create units in them from the same script.

2) Setpos them at extreme altitude upon mission start. I imagine that it may take 5 minutes to featherfall 15 000-20 000 meters in a BIS parachute.

Share this post


Link to post
Share on other sites

Thanks for your awnsers, but this does not sound simple >_<

I ment is it possible without some external script, but just with a simple command line in the 'initalization' window? Can I set a certain hight in the intialization? I am avoiding external scripting, because that only leads to frustrations for me.

Share this post


Link to post
Share on other sites

Write this in the initline of each unit:

this setpos [getPos this select 0, getPos this select 1, 15000]

The unit will start 15.000 meter up in the air. Hope you did remembere to give him a parachute :)

Share this post


Link to post
Share on other sites

I edited my comment above with the code, it's extremely simple, 2 lines of code, no extra scripts or anything needed. Can be run from an init or trigger or whatever.

I am avoiding external scripting, because that only leads to frustrations for me.

External scripting is very powerful and in some cases (ie triggers and spawns) pretty much required. Just ask questions as you get them, search a lot and we'll help ya. :)

Share this post


Link to post
Share on other sites

Exelent thanks very much!

I was looking at the command SetTimer, but no idea how to use that anyway lol.

Share this post


Link to post
Share on other sites

Easiest way to get a timer is to use a Trigger. Set it to Countdown instead of Timeout, set the number of seconds to wait in the Min:, Mid: and Max: boxes, set Condition to True then once those seconds run out the OnAct will happen.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×