SpaceshipReference
- Found in:
- Vanilla
Inheritance Tree
No indexed scripts extend this script.
Structs
Properties
Events
Functions
- Found in:
- Vanilla
Adds this spaceship to a faction at rank 0 if they aren't already in it
- Found in:
- Vanilla
Tests if the spaceship is allowed to land at the given marker based on the maximum allowed ship size.
- Found in:
- Vanilla
Retrieves the ships contraband status. (Only checks ships cargo if abCheckWholeShip is false)
-1 - Below shielded inventory limit
0 - At shielded inventory limit
1 - Above shielded inventory limit
- Found in:
- Vanilla
disable this spaceship with grav jump FX
- Found in:
- Vanilla
disable this spaceship with grav jump FX. Does NOT wait for the FX to finish
- Found in:
- Vanilla
disable this spaceship after playing a takeoff or landing animation (whichever is appropriate)
- Found in:
- Vanilla
disable this spaceship after playing a takeoff or landing animation (whichever is appropriate). Does NOT wait for the animation to complete
- Found in:
- Vanilla
Enable/disable repairing the spaceship part associated with the given System Health actor value
If no part is specified, all the parts will be affected
pass true to enable repairing the part(s), false to disable it
- Found in:
- Vanilla
evaluate this spaceships packages.
- Found in:
- Vanilla
enable this spaceship with grav jump FX
- Found in:
- Vanilla
enable this spaceship with grav jump FX - does not wait for 3d to load
- Found in:
- Vanilla
enable this spaceship and land it at its currently linked landing marker
- Found in:
- Vanilla
enable this spaceship and land it at its currently linked landing marker. Does not wait for the animation to complete or the 3d to load
- Found in:
- Vanilla
gets all the combat targets for this spaceship
- Found in:
- Vanilla
gets the current combat target
- Found in:
- Vanilla
Retrieves the ships contraband weight. (Only checks ships cargo if abCheckWholeShip is false)
- Found in:
- Vanilla
Get the faction this ship reports crimes to
- Found in:
- Vanilla
Gets this spaceships's current AI package
- Found in:
- Vanilla
Gets all exterior references for this spaceship which are load doors
- Found in:
- Vanilla
Gets this spaceship's exterior references filtered by the given keyword
- Found in:
- Vanilla
Obtains this spaceship's rank with the specified faction - returns -1 if the spaceship is not a member
- Found in:
- Vanilla
returns the faction reation to the other actor
0 - Neutral
1 - Enemy
2 - Ally
3 - Friend
- Found in:
- Vanilla
Retrieve all the spaceships currently docked with this spaceship
- Found in:
- Vanilla
returns the faction reation to the other spaceship
0 - Neutral
1 - Enemy
2 - Ally
3 - Friend
- Found in:
- Vanilla
Retrieve the first spaceship docked with this spaceship, if any
- Found in:
- Vanilla
get this ship's killer
- Found in:
- Vanilla
Gets all exterior references for this spaceship which are ramps
- Found in:
- Vanilla
get the base object of this spaceship, either the created one for a leveled ship or the editor saved one for a non leveled ship.
- Found in:
- Vanilla
get the no bleedout recovery status for this ship
- Found in:
- Vanilla
Gets the number of parts of a specific type
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator
- Found in:
- Vanilla
Gets the amount of power allocated to a given part
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator
- Found in:
- Vanilla
Gets the spaceships maximum weight capacity by summing normal and shielded cargo capacity.
- Found in:
- Vanilla
Returns the weapon associated with a weapon group part
- Found in:
- Vanilla
Instantly docks the spaceship with a target which can be another ship or a docking port
- Found in:
- Vanilla
Instantly undocks a spaceship
- Found in:
- Vanilla
Returns whether this spaceship's AI is enabled.
- Found in:
- Vanilla
Returns if this spaceship is detected by the other one
- Found in:
- Vanilla
Get whether this spaceship is currently docked with a given target
- Found in:
- Vanilla
Get whether this spaceship is docked as a child
- Found in:
- Vanilla
get if this spaceship is considered essential
Included actors are anyone in the ship's interior or exterior
- Found in:
- Vanilla
Is this spaceship hostile to another spaceship?
- Found in:
- Vanilla
check if the ship is in combat.
- Found in:
- Vanilla
Checks to see if this spaceship is a member of the specified faction
- Found in:
- Vanilla
get if this spaceship is considered protected
Included actors are anyone in the ship's interior or exterior
- Found in:
- Vanilla
check if this spaceship's ramp is connected to the surrounding navmesh yet
- Found in:
- Vanilla
kill this ship with akKiller as the source of the kill
- Found in:
- Vanilla
kill this ship with akKiller as the source of the kill even if the ship or any on board actors are essential.
- Found in:
- Vanilla
kill this ship with akKiller as the source of the kill but do not generate story events
- Found in:
- Vanilla
modifies the faction rank by the given amount
- Found in:
- Vanilla
Pop this spaceship to the initial location for a package.
- Found in:
- Vanilla
Opens this ship's inventory.
- Found in:
- Vanilla
Lock the power allocation of a specific part to keep the AI from modifying it
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator
pass -1 to aiShipPartIndex to lock/unlock the power of all the parts of the specified type
This will also keep the AI from repairing a damaged part
- Found in:
- Vanilla
Make the spaceship attempt to path to a reference, latent version
Note: this method doesn't return until the goal is reached or pathing
failed or was interrupted (by another request for instance)
Return values (see Actor for PathingResult properties):
0 - Success
1 - Failure
2 - Stopped
3 - Cleared
4 - Timeout
- Found in:
- Vanilla
remove the ship from the all factions
- Found in:
- Vanilla
remove the ship from the given faction
- Found in:
- Vanilla
Removes the specified perk from this spaceship
- Found in:
- Vanilla
Has this spaceship behave as if assaulted
- Found in:
- Vanilla
Have the ship behave as if pirated
- Found in:
- Vanilla
Have this spaceship behave as if they detected the player smuggling
- Found in:
- Vanilla
Sets this ship to be attacked by all other ships on sight
- Found in:
- Vanilla
Tells pathing to avoid the player (which it already does by default) or not (for use in scenes where the player is meant to be an incorporeal observer).
- Found in:
- Vanilla
Sets the combatstyle for this spaceship
- Found in:
- Vanilla
Sets the faction this spaceship reports crimes to
- Found in:
- Vanilla
set if this spaceship is considered essential
- Found in:
- Vanilla
Sets this spaceship's rank with the specified faction
- Found in:
- Vanilla
set the no bleedout recovery status for this ship; pass true to prevent recovery
- Found in:
- Vanilla
Sets this spaceship to not effect the detection level on the stealth meter if they are not hostile to the player
- Found in:
- Vanilla
Sets the amount of power allocated to a given part
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator
specify -1 for the aiShipPartIndex to set the power of all the parts of the specified type (such as weapons)
- Found in:
- Vanilla
Sets the player as resisting arrest from this spaceships's faction
- Found in:
- Vanilla
set if this spaceship is considered protected
- Found in:
- Vanilla
Opens the Barter menu
- Found in:
- Vanilla
start combat with the given target
- Found in:
- Vanilla
stops combat for this spaceship
- Found in:
- Vanilla
Stops all combat and alarms against this spaceship
- Found in:
- Vanilla
Set the forward velocity of the ship as a percentage of max speed(0-1)
- Found in:
- Vanilla
Set the autopilot of the ship unonscious or conscious
- Found in:
- Vanilla
Set the ship to ignore friendly hits
- Found in:
- Vanilla
Gets the spaceships current max grav jump range in light years
- Found in:
- Vanilla
Get this ship's reactor class keyword
- Found in:
- Vanilla
scornett
Is the ship's exterior load door inaccessible? (Checks the state of the first door found, if there are multiple.)
- Found in:
- Vanilla
scornett
Sets the ship's exterior load door(s) inaccessible.
- Found in:
- Vanilla
scornett
Are there any actors on the ship's exterior landing deck? (That is, any actors in the trigger encompassing the landing deck and ramp?) (Checks the state of the first deck found, if there are multiple.)
