Results 1 to 2 of 2

Thread: Waypoint not working!

  1. #1

    Question Waypoint not working!

    I am making a mission (due to my lack of knowledge on making "tasks" I am just using waypoints to guide the player with the final waypoint being the one that marks the end of the mission).

    The waypoint I am having trouble with is a to a crashed plane (the waypoint is connected an empty plane that starts in mid flight, and it crashes, like it should...) I set the completion radius to 30 meters, and when I am closer than 30 meters, it doesn't disappear and give me the next waypoint.

    Is there something I am doing wrong, or is there a way to fix this? Thanks for the info.

  2. #2
    There does seem to be a bug as you can get within a meter of the plane and still the waypoint won't complete.

    The only way I can do it is this.


    You will have to put yourself in a group by placing this line in your units init box.

    Code:
    grp1 = group this

    name the plane and place this line in it's init box
    Code:
    trig1 attachto[plane,[0,0,0]]
    Next create a trigger and name it trig1 and setup as follows
    Cond
    Code:
    player distance planename <=10
    On act
    Code:
    deleteWaypoint [grp1, 4]
    You will have to change the number after in deletewaypoint to match the one that isn't working.

    What I'm doing is using a trigger instead of the waypoint and when it becomes true it deletes the faulty waypoint.

    Has anyone got a better way of doing this?
    Last edited by F2k Sel; Aug 21 2009 at 21:04.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •