kvntvan 13 Posted September 28, 2020 Does anyone know if there is an addaction condition that checks if a player is piloting a jet/helicopter ? this is what I have so far, just needs a condition player addAction ["<t color=""#33f6ff"">" +format["Spawn Enemy Jets"],"jetspawn.sqf" ,nil,0,false,true,"", "CONDITION GOES HERE",-1]; Share this post Link to post Share on other sites
wogz187 1085 Posted September 28, 2020 @kvntvan, Spoiler null=[ player, "Enemy Fighters", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_connect_ca.paa", "!isNull objectParent _this && objectParent _this isKindof ""PLANE""", "alive _this", {}, {}, { systemChat "did it!"; }, {}, [], 2, 0, false, true] call BIS_fnc_holdActionAdd; I'm gonna suggest a hold addAction but there's your condition. Have fun! 1 Share this post Link to post Share on other sites
Grumpy Old Man 3544 Posted September 29, 2020 A simple GetIn or GetInMan eventhandler should do the trick. From there on you can apply anything you want, addAction, variables, etc. Cheers 1 Share this post Link to post Share on other sites
pierremgi 4822 Posted September 29, 2020 condition: _this == currentPilot vehicle _target 1 Share this post Link to post Share on other sites