Ok, so i've got my action in the menu, it does what it's soposed to do. Heres the catch. I'm trying to get it to NOT show up if the player is NOT inside the trigger zone. Here is what i've got inside the trigger onact field:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">fenceact = thislist select 0 addAction ["Break Fence", "fence_action.sqs"][/QUOTE]
Here is the script:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_player = _this select 0
_id = _this select 2
; remove the action once it is activated
_player removeAction _id
_player playmove "AinvPknlMstpSlayWrflDnon_medic"
~8.2
position _player nearestObject 3922 setDamage 1
exit[/QUOTE]
Anyone got any ideas? I've tried like thislist select 0 removeaction fenceact and stuff but the Break Fence still shows up even if i'm miles away from the trigger (after activating it once)
HOME
Reply With Quote

