Jump to content
Sign in to follow this  
Cougar69

Attach vehicle to BH

Recommended Posts

Thankyou inferno7312 for the script and thankyou bk1276 for the guides. I just tried it after work and it works great.

There is one question though... what should I do if I want the heli to drop the cargo without parashoot, like the heli droping at a low altitude and once the tires of the cargo touches the ground, the heli releases it. Is this possible with this script?

Thankyou.

Share this post


Link to post
Share on other sites

No need to answer to the last post really, I figured it out.

I just delete this part of the script if I want it to drop with out para...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#Drop

;create the parachute in the position of car

_chute = "parachute" createvehicle getpos _heli

_chute setDir _heading

~0.01

_carPos = getPos _car

_carPosX = _carPos select 0

_carPosY = _carPos select 1

_carPosZ = _carPos select 2

_chute setPos [_carPosX, _carPosY, _heliPosZ - 5]

#DropUpdate

_chutePos = getPos _chute

_chutePosX = _chutePos select 0

_chutePosY = _chutePos select 1

_chutePosZ = _chutePos select 2

_car setPos [_chutePosX, _chutePosY, _chutePosZ - 3]

_car setVelocity velocity _chute

~0.01

? (_chutePosZ > 3) : goto "DropUpdate"

This is a great script...thanks once more.

Share this post


Link to post
Share on other sites

in the demo video inferno7312 linked to in an earlyer post

it showed the drop and it had a resupply chute on it how

do i change the script to do that .the one that i want to

use is mapfacts from there map misc pack.

all help gratefull as im hitting head of wall trying to change

it in the script to no sucsess

bk1276

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  

×