Jump to content
Sign in to follow this  
katipo66

Trigger condition for task

Recommended Posts

I have a trigger that calls a script to complete a task when player is present..

What can i put in the condition of the trigger so its only activated if task is current

Ive tried things like tskname = true etc but nothing seems to work

Share this post


Link to post
Share on other sites

Katipo66: If I read you right, you're asking how to create tasks and have them be completed in the task list. To do that you need to learn about Briefing creation. A simple way to get the idea for that is the Briefing Manager app by Alimag. You can search for it in downloads at Armaholic.com.

Then you combine a trigger that checks for the completion of each task and sets the condition to "succeeded" or "failed" as desired.

This isn't real hard, but there's stuff for you to learn to get it.

Try searching YouTube for Arma2 tutorials on a topic like this.

might be helpful.

Share this post


Link to post
Share on other sites

Trigger Condition:

this && taskState tskTaskName == "Assigned"

Then you combine a trigger that checks for the completion of each task and sets the condition to "succeeded" or "failed" as desired. This isn't real hard, but there's stuff for you to learn to get it.

That's what he was asking how to do. :)

Share this post


Link to post
Share on other sites

Thanks Kylania... that worked perfect, actually ive used your kill the girl not the goat example for my mission, and ill probably use some others, your website is a great resource.

At Lucky44.. i downloaded Briefing Manager, looks cool

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  

×