Jump to content
Sign in to follow this  
boydee

Target player in addaction

Recommended Posts

Hey guys,

 

I'm using ATM_Airdrop in a mission and I've created a trigger to limit the use of the script. How ever I'm unsure on how to execute it properly. I can put this in a vehicle and it works fine because it targets the driver.

this addAction ["Halo Jump Test", "ATM_airdrop\atm_airdrop.sqf", "", 10, false, true, "", "(driver _target == _this) && HaloAvailable"];

This all works perfectly the triggers count down and displays everything, I'm just wondering how i would go about putting the Addaction on a object rather then a vehicle ?

 

---EDIT---

this addAction ["Halo Jump Test", "ATM_airdrop\atm_airdrop.sqf", "", 10, false, true, "", "HaloAvailable"];

Sorry and thanks. Will Delete post

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  

×