Retail Objectives SEXP Reference
From FreeSpace Wiki
is-destroyed-delay
Is destroyed delay (Boolean operator)
Becomes true <delay> seconds after all specified ships have been destroyed.
Returns a boolean value; Takes 2 or more arguments:
1: Time delay in seconds (see above).
Rest: Name of ship (or wing) to check status of.
is-subsystem-destroyed-delay
Is subsystem destroyed delay (Boolean operator)
Becomes true <delay> seconds after the specified subsystem of the specified ship is destroyed.
Returns a boolean value; Takes 3 arguments:
1: Name of ship the subsystem we are checking is on.
2: The name of the subsystem we are checking status of.
3: Time delay in seconds (see above).
is-disabled-delay
Is disabled delay (Boolean operator)
Becomes true <delay> seconds after the specified ship(s) are disabled. A ship is disabled when all of it's engine
subsystems are destroyed. All ships must be diabled for this function to return true.
Returns a boolean value; Takes 2 or more arguments:
1: Time delay is seconds (see above).
Rest: Names of ships to check disabled status of.
is-disarmed-delay
Is disarmed delay (Boolean operator)
Becomes true <delay> seconds after the specified ship(s) are disarmed. A ship is disarmed when all of it's turret
subsystems are destroyed. All ships must be disarmed for this function to return true.
Returns a boolean value; Takes 2 or more arguments:
1: Time delay is seconds (see above).
Rest: Names of ships to check disarmed status of.
has-docked-delay
Has docked delay (Boolean operator)
Becomes true <delay> seconds after the specified ships have docked the specified number of times.
Returns a boolean value; Takes 4 arguments:
1: The name of the docker ship
2: The name of the dockee ship
3: The number of times they have to have docked
4: Time delay in seconds (see above).
has-undocked-delay
Has undocked delay (Boolean operator)
Becomes true <delay> seconds after the specified ships have undocked the specified number of times.
Returns a boolean value; Takes 4 arguments:
1: The name of the docker ship
2: The name of the dockee ship
3: The number of times they have to have undocked
4: Time delay in seconds (see above).
has-arrived-delay
Has arrived delay (Boolean operator)
Becomes true <delay> seconds after the specified ship(s) have arrived into the mission
Returns a boolean value; Takes 2 or more arguments:
1: Time delay in seconds (see above).
Rest: Name of ship (or wing) we want to check has arrived.
has-departed-delay
Has departed delay (Boolean operator)
Becomes true <delay> seconds after the specified ship(s) or wing(s) have departed from the mission by warping out. If any
ship was destroyed, this operator will never be true.
Returns a boolean value; Takes 2 or more arguments:
1: Time delay in seconds (see above).
Rest: Name of ship (or wing) we want to check has departed.
are-waypoints-done-delay
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).
ship-type-destroyed
Ship Type Destroyed (Boolean operator)
Becomes true when the specified percentage of ship types in this mission have been destroyed. The ship type is a generic
type such as fighter/bomber, transport, etc. Fighters and bombers count as the same type.
Returns a boolean value; Takes 2 arguments:
1: Percentage of ships that must be destroyed.
2: Ship type to check for.
percent-ships-departed
percent-ships-departed
Boolean function which returns true if the percentage of ships in the listed ships and wings which have departed is
greater or equal to the given percentage. For wings, all ships of all waves are used for calculation for the total possible
ships to depart.
Takes 2 or more arguments:
1: Percentge of departed ships at which this function will return true.
2+: List of ships/wing whose departure status should be determined.
percent-ships-destroyed
percent-ships-destroyed
Boolean function which returns true if the percentage of ships in the listed ships and wings which have been destroyed
is greater or equal to the given percentage. For wings, all ships of all waves are used for calculation for the total possible
ships to be destroyed.
Takes 2 or more arguments:
1: Percentge of destroyed ships at which this function will return true.
2+: List of ships/wing whose destroyed status should be determined.
depart-node-delay
depart-node-delay
Returns true N seconds after the listed ships depart, if those ships depart within the radius of the given jump node.
The delay value is given in seconds.
Takes 3 or more arguments:
1: Delay in seconds after the last ship listed departed before this expression can return true.
2: Name of a jump node
3+: List of ships to check for departure within radius of the jump node
destroyed-or-departed-delay
destroyed-or-departed-delay
Returns true N seconds after all the listed ships or wings have been destroyed or have departed.
Takes 2 or more arguments:
1: Delay in seconds after the last ship/wing is destroyed or departed this expression can return true.
2+: Name of a ship or wing
| Retail SEXP Reference | ||
|---|---|---|
| Objectives | Time | Logical | Arithmetic | Status | Change | Conditionals | Debugging | Ai goals | Event/Goals | Training | ||
| SCP SEXP Reference | FRED Portal | ||
Categories: Lists | FRED
