DayZ Stunt Plane Smoke help needed

Gandalf242

New Member
Hi i've discoverd this script that releases smoke from a planes wings like a stunt plane. It is activated via the vehicles INIT, please can someone help me with a script that would detect whether a Player is in vehicle type like a C130j and if they are addaction "Activate Stunt Smoke" Execute Stunt.sqf (Stunt.sqf Containing the Smoke granade scipting that adds the granades to the wings) and Either after you've clicked activate or just have it there "Deactivate Stunt Smoke" which stops the smoke.

I understand the concept of scripting mainly, just no idea how to script it together

Stages:

Detect if player is in a C130j

If he is addaction "Activate stunt smoke"
addaction "Deactivate stunt smoke"
if Activate clicked = Activate stunt smoke executes "stunt.sqf"
if Deactivare clicked = Stop "stunt.sqf"or something that stops the smoke


Else

Hint "This plane is not fitted with stunt smoke"'


I know its crappy but this is my basic understanding of how things work :p
 
Back
Top