Difference between revisions of "Are-waypoints-done-delay"

From FreeSpace Wiki
Jump to: navigation, search
(new page)
 
(added warning for use with capital ships)
Line 7: Line 7:
 
         3:      Time delay in seconds (see above).
 
         3:      Time delay in seconds (see above).
  
 +
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 [[GTT Elysium|Elysium]], only for true capital ships due to their terrible turning rate.
 
[[Category:Retail SEXPs]]
 
[[Category:Retail SEXPs]]

Revision as of 14:54, 17 May 2006

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).

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.