Jump to content
Sign in to follow this  
thefinn

Attaching smoke/chemlight to supply drop module crates ?

Recommended Posts

I found another thread asking this, but nothing was ever resolved as far as I can tell.

Just wondering how I can use the crate init field to attach a chemlight/smoke to the crate ?

WaitUntil {((((position this) select 2) < 0.7))}; Signal = "SmokeShellYellow" createVehicle position this;

This works however the crate just falls without a parachute and is destroyed ;)

I could add

this allowDamage false;
but the parachute does still fall to the ground on it's own :\

In my defence the script I got that from had all its' notes written in german.

edit:

Also tried

WaitUntil {(istouchingground _this)}
but that doesn't help ;) Edited by thefinn

Share this post


Link to post
Share on other sites

Am I using waitUntil incorrectly ? I just did a test and it thinks the box is on the ground when it begins the drop :\

Share this post


Link to post
Share on other sites

Already got it ;)

You're too late buddy ;)

Put this in the support provider Crate Init Field

_a = [_this] execVM "supply.sqf";

And this is supply.sqf

_supplybox = _this select 0;

for "_x" from 1 to 10 do

{

_supplyLight = "Chemlight_green" createVehicle (position _supplybox);

_supplyLight attachTo [_supplybox, [0,0,0]];

_supplySmoke = "SmokeShellGreen" createVehicle (position _supplybox);

_supplySmoke attachTo [_supplybox, [0,0,0]];

sleep 30;

};

If you can't find it in 5 minutes, I figure you've probably gotten yourself too drunk to play arma. It happens.

That's what I'm gonna be using anyhow. Thanks for the thought tho, I do appreciate it. ;)

Edited by thefinn

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  

×