Jump to content
Sign in to follow this  
GunnDawg09

Condition of Pressence question.

Recommended Posts

I have a mission where you have to take over an airbase to gain access to a helicopter, then you fly over to a compound and take some more guys out.

Anyways, I am trying to make it so after task1 is completed it spawns a few helicopters on the airbase and some ammo crates. My pseudo thinking would be making them in the editor but setting the presence to FALSE then on the trigger where I complete the task set it to TRUE some how, but I dont see that being possible, So how would I do it?

This is what my trigger for the objective/task looks like:

task1 setTaskState "SUCCEEDED"; alpha_clear=true;

And this would be what my pseudo thinking is:

task1 setTaskState "SUCCEEDED"; alpha_clear=true; heli1 condition_presence =true; (but I know that wont work)

Share this post


Link to post
Share on other sites

I'm interested in this, if it's at all possible.

Share this post


Link to post
Share on other sites

condition of presance only works when the mission starts, what u need is a small spawn script

Share this post


Link to post
Share on other sites
condition of presance only works when the mission starts, what u need is a small spawn script

Yeah that is kind of what I figured, thats why I am trying to figure out the proper way to do it.

Share this post


Link to post
Share on other sites

If you dont need the AI to spawn, but they can be there from the start of the mission, you could create a trigger covering the first area, set to detect the absence of OpFor, and have the waypoint to the next area synced to that trigger. When there are no OpFor present in the first area, the trigger is activated, and the next waypoint is given.

Hope that helps

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  

×