Jump to content
Sign in to follow this  
ssm4862

re,re) object destory burn script question

Recommended Posts

Quote:

Originally Posted by ssm4862

example) The object is destroyed,

Next the destroy objects fire(flame) script.

Please let us know

0 = this spawn {

waituntil {!alive _this};

[_this,5,time,false,true] spawn BIS_Effects_Burn;

};

Above code is that correct?

Above code init can enter field is no response.

Find the location of that script and then exec it by

Code:

Burning=[Obj,5,false,false] execVM "script location here"if you wanna to stop it, you can use

Code:

terminate Burning

------------------------------------------------------------------------

Can not solve the above code. I use the code's not responding.

I would appreciate if the mission was created as an example.

please help me.

Share this post


Link to post
Share on other sites
Quote:

Originally Posted by ssm4862

example) The object is destroyed,

Next the destroy objects fire(flame) script.

Please let us know

0 = this spawn {

waituntil {!alive _this};

[_this,5,time,false,true] spawn BIS_Effects_Burn;

};

Above code is that correct?

Above code init can enter field is no response.

Find the location of that script and then exec it by

Code:

Burning=[Obj,5,false,false] execVM "script location here"if you wanna to stop it, you can use

Code:

terminate Burning

------------------------------------------------------------------------

Can not solve the above code. I use the code's not responding.

I would appreciate if the mission was created as an example.

please help me.

Okay, here's the example

_place=_this select 0
_PS1 = "#particlesource" createVehicleLocal getpos _place;
_PS1 setParticleCircle [10, [2, 1, 3]];
_PS1 setParticleRandom [0.2, [1, 1, 0], [0.5, 0.5, 0], 1, 0.5, [0, 0, 0, 0], 0, 0];
_PS1 setParticleParams [["\Ca\Data\ParticleEffects\Universal\Universal", 8, 2, 6], "", "Billboard", 1, 1, [0, 0, 0], [0, 0, 0.5], 1, 1, 0.9, 0.3, [1.5], [[1, 0.7, 0.7, 0.5]], [1], 0, 0, "", "", _PS1];
_PS1 setDropInterval 0.03;
sleep 10;
deleteVehicle _PS1;

That's the simpliest example make a fire effect, when you do it, just find a object you wanna to smoke and put

[this] exec "burning.sqf";

in its init line.

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  

×