Script reference

DamageLevel

INTACT
DAMAGE
CRITICAL
DESTROYED

ObjectType

TYPE_OBJECT
TYPE_SHIP
TYPE_SUBSYSTEM
TYPE_HARDPOINT
TYPE_TURRET
TYPE_DEBRIS
TYPE_RESOURCE_CONTAINER
TYPE_FIGHTER

ShipType

SHIP_UNKNOWN
SHIP_CORVETTE
SHIP_FRIGATE
SHIP_DESTROYER
SHIP_CRUISER
SHIP_BATTLECRUISER
SHIP_BATTLESHIP
SHIP_CARRIER
SHIP_STATION
SHIP_RESOURCE_COLLECTOR
SHIP_REPAIR
SHIP_PLATFORM
SHIP_CIVILIAN

SubsystemType

SUBSYSTEM_TYPE_UNKNOWN
SUBSYSTEM_TYPE_HULL
SUBSYSTEM_TYPE_ENGINE
SUBSYSTEM_TYPE_SENSORS
SUBSYSTEM_TYPE_COMMS
SUBSYSTEM_TYPE_CARGOHOLD
SUBSYSTEM_TYPE_FIGHTERBAY
SUBSYSTEM_TYPE_DROPOFF
SUBSYSTEM_TYPE_SHIPYARD
SUBSYSTEM_TYPE_REACTOR
SUBSYSTEM_TYPE_WARPCORE
SUBSYSTEM_TYPE_SHIELD_PROJECTOR
SUBSYSTEM_TYPE_GARDEN
SUBSYSTEM_TYPE_CREWQUARTERS
SUBSYSTEM_TYPE_BALAST

TurretType

TURRET_TYPE_UNKNOWN
TURRET_TYPE_GUN
TURRET_TYPE_BEAM
TURRET_TYPE_BEAM_MINER
TURRET_TYPE_BEAM_REPAIR
TURRET_TYPE_BEAM_SALVAGER
TURRET_TYPE_MISSILE_LAUNCHER
TURRET_TYPE_FLAK

TurretRole

TURRET_ROLE_UNKNOWN
TURRET_ROLE_ANTI_FIGHTER
TURRET_ROLE_ANTI_FIGHTER_SHIP
TURRET_ROLE_ANTI_SHIP_FIGHTER
TURRET_ROLE_ANTI_SHIP
TURRET_ROLE_LONG_RANGE

OrderType

SHIP_ORDER_NONE
SHIP_ORDER_CANCEL_ORDERS
SHIP_ORDER_AUTO_DECIDE
SHIP_ORDER_STOP
SHIP_ORDER_ESCORT
SHIP_ORDER_TURN
SHIP_ORDER_MOVE
SHIP_ORDER_ATTACK
SHIP_ORDER_SORTIE_FIGHTERS
SHIP_ORDER_SORTIE_FIGHTERS_ATTACK
SHIP_ORDER_SORTIE_FIGHTERS_ESCORT
SHIP_ORDER_LAUNCH_FIGHTERS
SHIP_ORDER_DOCK_FIGHTERS
SHIP_ORDER_CHANGE_BOMBER_HOLDING_ON
SHIP_ORDER_CHANGE_BOMBER_HOLDING_OFF
SHIP_ORDER_CHANGE_LAUNCH_FULL_ON
SHIP_ORDER_CHANGE_LAUNCH_FULL_OFF
SHIP_ORDER_ADD_FIGHTERGROUP
SHIP_ORDER_REMOVE_FIGHTERGROUP
SHIP_ORDER_SCAFFOLD_REPAIR
SHIP_ORDER_SCAFFOLD_SCRAP
SHIP_ORDER_SCAFFOLD_CONSTRUCT
SHIP_ORDER_HARVEST
SHIP_ORDER_HARVEST_RETURN
SHIP_ORDER_DROP_CARGO
SHIP_ORDER_PICK_CARGO
SHIP_ORDER_SELF_DESTRUCT
SHIP_ORDER_ABANDON_SHIP
SHIP_ORDER_ABILITY_ACTIVATE
SHIP_ORDER_ABILITY_DEACTIVATE
SHIP_ORDER_ABILITY_CAST
SHIP_ORDER_WARP_IN
SHIP_ORDER_WARP_OUT
MISC_ORDER_RESEARCH_START
MISC_ORDER_RESEARCH_CANCEL

AbilityType

ABILITY_NONE
ABILITY_REACTOR_OVERLOAD
ABILITY_SELF_REPAIR
ABILITY_AFTERBURNERS
ABILITY_BEAM_OVERCHARGE
ABILITY_GUN_OVERCHARGE
ABILITY_IGNITE_RESOURCES
ABILITY_SENSOR_JAM
ABILITY_ENERGY_TRANSFER
ABILITY_RECHARGE_SHIELD
ABILITY_ENERGY_SHIELD
ABILITY_DISABLE_ENGINE
ABILITY_ENERGY_DRAIN

SensorIconType

SENSOR_ICON_TYPE_UNKNOWN
SENSOR_ICON_TYPE_FLAG