Jump to content
Sign in to follow this  
stephen271276

Trigger wont delete???

Recommended Posts

Hi I have a trigger in a mission which is set to "once" and is grouped to the player, in the on act field it has....

act = player addAction ["Intimidate","scare.sqf"]; player sideChat "You either tell me where theyve taken him or I burn this fu***r to the ground!.";

The sqf has an animation of the player striking the NPC and him falling to the ground.

Only problem is the "intimidate action is constantly available from the point of the trigger being used and Ive even tried another trigger with the "deleteVehicle triggername" command but its still there????

Share this post


Link to post
Share on other sites

You need to remove the addaction.

maybe add this to end of scare.sqf

player removeaction act;

Share this post


Link to post
Share on other sites
Only problem is the "intimidate action is constantly available from the point of the trigger being used and Ive even tried another trigger with the "deleteVehicle triggername" command but its still there????

And have you given a name to that trigger?

Because deleteVehicle works only when the named target exists.

Just asking, because I often forgot to name triggers, or mix the name with the text field. :confused:

Share this post


Link to post
Share on other sites

Spot on...

Works great!

Is there a way that you know of to get a trigger to activate when a player is very close to another unit???

So I can have where the player walks towards the unit then when hes in arms distance the action is available?

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  

×