Type Shuttle
Represents TSCM shuttles.
Methods
| getMaxShieldCharge() | Returns the maximum charge for the shuttle's shields. |
| getName() | Returns the name assigned to the shuttle, if any. |
| getPassenger( index ) | Returns the passenger at the given index in the shuttle. |
| getPassengerCount() | Returns the number of passenger seats available in the shuttle. |
| getPassengerSeatPoint( index ) | Returns the position and angles of the passenger seat position at the given index. |
| getPilot() | Returns the pilot of the shuttle. |
| getRegistryNumber() | Returns the registry number of the ship the shuttle is associated with, if any. |
| getShipName() | Returns the name of the ship the shuttle is associated with, if any. |
| getTotalShieldCharge() | Returns the current state of charge for the shuttle's shields. |
| isShieldActive() | Returns true if the shuttle's shield is active, false otherwise. |
Methods
- Shuttle:getMaxShieldCharge()
-
Returns the maximum charge for the shuttle's shields.
Environment:
Server - Shuttle:getName()
-
Returns the name assigned to the shuttle, if any.
Environment:
Server - Shuttle:getPassenger( index )
-
Returns the passenger at the given index in the shuttle.
Environment:
ServerParameters:
-
index: The index of the passenger to return (1-based).
-
- Shuttle:getPassengerCount()
-
Returns the number of passenger seats available in the shuttle.
Environment:
Server - Shuttle:getPassengerSeatPoint( index )
-
Returns the position and angles of the passenger seat position at the given index.
Environment:
ServerParameters:
-
index: The index of the passenger seat position and angles to return (1-based).
Return values:
-
(Vector | nil)The position of the seat position in world space. -
(Angle | nil)The angles of the seat position in world space.
-
- Shuttle:getPilot()
-
Returns the pilot of the shuttle.
Environment:
Server - Shuttle:getRegistryNumber()
-
Returns the registry number of the ship the shuttle is associated with, if any.
Environment:
Server - Shuttle:getShipName()
-
Returns the name of the ship the shuttle is associated with, if any.
Environment:
Server - Shuttle:getTotalShieldCharge()
-
Returns the current state of charge for the shuttle's shields.
Environment:
Server - Shuttle:isShieldActive()
-
Returns true if the shuttle's shield is active, false otherwise.
Environment:
Server