Jump to content
Sign in to follow this  
Bioz

Convoy mission problem

Recommended Posts

HEllo guys In my mission i have to escort a convoy. I want it stop and proceed when I say that. I should use two triggers but how to make the stop/proceed stuff?

---------- Post added at 16:15 ---------- Previous post was at 16:11 ----------

I've just realized how to stop the convoy with a radio trigger. Cannot understand how to let it keep going.

Share this post


Link to post
Share on other sites

Well this is a simplistic way of doing it: you can synchronize a trigger (activated "once" using "Radio Alpha", Bravo, etc.) to a waypoint where you want them to stop. The convoy should stop at this waypoint and wait until you activate the Radio trigger, and from there they will proceed.

If you want these triggers to become usable one at a time, that could get a little trickier, but it's totally possible using setTrigger commands, specifically setTriggerActivation http://community.bistudio.com/wiki/setTriggerActivation (you could set old triggers to activation "None" and the current trigger to the same Radio command)

This would be a way of safeguarding players from accidentally triggering a later waypoint than the one you want them to use and keep the options straightforward.

Share this post


Link to post
Share on other sites

I have put a waypoint for a truck. Then I put a trigger On Act: dostop "car1". It stops with this method. Can't I simply use another trigger with something similar to the first one?

Share this post


Link to post
Share on other sites

yes:

you can try

car1 setCurrentwaypoint [group car1, 1] // or whatever index the waypoint is 

or

car1 doMove (waypointPosition [group car1, 1]) // again whatever index the waypoint is at

if you dont want to use waypoints, you can just put a marker down and use doMove getmarkerpos "markername".

Share this post


Link to post
Share on other sites

so i use my trigger to stop it and use your code to keep the car going. Good. But I don't understand (waypointPosition [group car1, 1]) // again whatever index the waypoint is at.

EDIT: Ok it works thanks a lot

---------- Post added at 17:05 ---------- Previous post was at 16:54 ----------

Oh and how can i set a specific speed for a vehicle

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  

×