Jump to content
Sign in to follow this  
xanth

Basic waypoint script help

Recommended Posts

I am attempting to make a conditional waypoint for a unit, that the unit will embark on only if a trigger is true.

I have made a trigger activated when bluefor is present. In the on activation field i type "way=1"

I then make my waypoint and for condition i put way=1

for some reason it is not working. I am a noob to scripting, and after searching this site and the web I have not found an answer.

Share this post


Link to post
Share on other sites

Did you try to syncronize the waypoint and the trigger by syncronize option in the editor?

Share this post


Link to post
Share on other sites

Keep in mind that the condition has to be set in the waypoint the unit is moving FROM, not in the destination waypoint (that's a common error).

This applies to a test for variables (or any other conditions), as well as a synchronization with a trigger.

Also, you variable test you're using would have to be "way==1" instead of "way=1" (the second version is just an assignment, but not a test).

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  

×