Are-waypoints-done-delay

From FreeSpace Wiki
Revision as of 17:05, 22 May 2006 by Shade (talk | contribs) (Comments)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Waypoints done delay (Boolean operator)
        Becomes true <delay> seconds after the specified ship has completed flying the specified waypoint path.

Returns a boolean value; Takes 3 arguments:
        1:      Name of ship we are checking.
        2:      Waypoint path we want to check if ship has flown.
        3:      Time delay in seconds (see above).

Comments

Using this for large ships is risky, as they can sometimes miss the waypoint slightly and the event will then never become true. This is not a problem for fighter size ships or small transports like the Elysium, only for true capital ships due to their terrible turning rate.

Instead, using a combination of Less-than and Distance can accomplish the same for capital ships by checking if the ship is within a small distance from the desired waypoint, but without the risk of problems.