Hi huys.
The problem:
Is there a way to detect in a script if player already has certain action added?
The issue comes up when I reassign satellite view via norrins revive script.
It works of course but if an AI unit revives another unit or I revive someone I get added additional "Sat view" action.
The additional ones get deleted when I use the action so it's not a big deal but still a bit annoying.
I wish there was an "hasAction" command for this...
The satView sqf:
Code:if ((vehicle player == player) && (local player)) then {player addAction ["Sat view", "Sat_Cam\SatellitenBild.sqf"];}; if true exitWith {};
HOME 
Reply With Quote





