Alter-ship-flag

From FreeSpace Wiki
Revision as of 07:33, 2 December 2020 by TopAce (talk | contribs) (new + notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
alter-ship-flag
	Sets a ships flag and/or parse flag. 

Takes 4 or more arguments...
	1:	Ship flag name
	2:	True if turning on, false if turning off
	3:	True\False - Apply this flag to future waves of this wing. Apply to ship if not present
	Rest:	 (optional) Name of ships, wings, or entire teams. If not supplied, will work on all ships in the mission

Ship Flags:
invulnerable - Stops ship from taking any damage
protect-ship - Ship and Turret AI will ignore and not attack ship
beam-protect-ship - Turrets with beam weapons will ignore and not attack ship
no-shields - Ship will have no shields (ETS will be rebalanced if shields were off and are enabled)
targetable-as-bomb - Allows ship to be targetted with the bomb targetting key
flak-protect-ship - Turrets with flak weapons will ignore and not attack ship
laser-protect-ship - Turrets with laser weapons will ignore and not attack ship
missile-protect-ship - Turrets with missile weapons will ignore and not attack ship
immobile - Will not let a ship move or rotate in any fashion
vaporize - Causes a ship to vanish (no deathroll, no debris, no explosion) when destroyed
break-warp - Causes a ship's subspace drive to break. Can be repaired by a support ship
never-warp - Causes a ship's subspace drive to never work. Cannot be repaired by a support ship
afterburner-locked - Will stop a ship from firing their afterburner
primaries-locked - Will stop a ship from firing their primary weapons
secondaries-locked - Will stop a ship from firing their secondary weapons
no-subspace-drive - Will not allow a ship to jump into subspace
don't-collide-invisible - Will cause polygons with an invisible texture to stop colliding with objects
no-ets - Will not allow a ship to alter its ETS system
toggle-subsystem-scanning - Switches between being able to scan a whole ship or individual subsystems
scannable - Whether or not the ship can be scanned
cargo-known - If set, the ships cargo can be seen without scanning the ship
stealth - If set, the ship can't be targeted, is invisible on radar, and is ignored by AI unless firing
friendly-stealth-invisible - If set, the ship can't be targeted even by ships on the same team
hide-ship-name - If set, the ship name can't be seen when the ship is targeted
hidden-from-sensors - If set, the ship can't be targeted and appears on radar as a blinking dot
no-dynamic - Will stop allowing the AI to persue dynamic goals (eg: chasing ships it was not ordered to)
no-secondary-lock-on - Will disable target acquisition for secondaries of all types (does not affect turrets)

Notes

  • This is one of the few SEXPs that can be applied to ships not present.