xanth 0 Posted December 19, 2007 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
.COMmunist 0 Posted December 21, 2007 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
xanth 0 Posted December 21, 2007 I just tried that, and no luck........... Share this post Link to post Share on other sites
kronzky 5 Posted December 21, 2007 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
xanth 0 Posted December 22, 2007 Thanks Kronzky it is working now. Share this post Link to post Share on other sites