Starfield Mod:Script-SpaceshipReference
From Starfield Wiki
| Spaceship Reference | |
|---|---|
| Script | SpaceshipReference |
| Extends | ObjectReference → Form → ScriptObject |
| Editor | Base Form |
| Base | SpaceshipBase |
A description of the script with its use and purpose.
Definition[edit]
The script header definition.
ScriptName SpaceshipReference Extends ObjectReference Native Hidden
Members[edit]
The members that belong to this script.
- Function AddPerk(Perk akPerk, bool abNotify = false)
- Function AddToFaction(Faction akFaction)
- bool Function CanLandAtMarker(ObjectReference akLandingMarker)
- int Function CheckContrabandStatus(bool abCheckWholeShip = true)
- Function DisableWithGravJump()
- Function DisableWithGravJumpNoWait()
- Function DisableWithTakeOffOrLanding()
- Function DisableWithTakeOffOrLandingNoWait()
- Function EnablePartRepair(ActorValue aSystemHealth, bool abEnable = true)
- Function EvaluatePackage(bool abResetAI = false)
- Function EnableAI(bool abEnable = true, bool abPauseVoice = false)
- bool Function EnableWithGravJump()
- bool Function EnableWithGravJumpNoWait()
- bool Function EnableWithLanding()
- bool Function EnableWithLandingNoWait()
- SpaceshipReference[] Function GetAllCombatTargets()
- SpaceshipReference Function GetCombatTarget()
- float Function GetContrabandWeight(bool abCheckWholeShip = true)
- Faction Function GetCrimeFaction()
- Package Function GetCurrentPackage()
- ObjectReference[] Function GetExteriorLoadDoors()
- ObjectReference[] Function GetExteriorRefs(Keyword apKeyword)
- int Function GetFactionRank(Faction akFaction)
- int Function GetActorFactionReaction(Actor akOtherActor)
- SpaceshipReference[] Function GetDockedShips()
- int Function GetFactionReaction(SpaceshipReference akOther)
- SpaceshipReference Function GetFirstDockedShip()
- ObjectReference Function GetKiller()
- ObjectReference[] Function GetLandingRamps()
- int Function GetLevel()
- SpaceshipBase Function GetLeveledSpaceshipBase()
- bool Function GetNoBleedoutRecovery()
- int Function GetPartCount(int aiShipPartID)
- int Function GetPartPower(int aiShipPartID, int aiShipPartIndex)
- float Function GetShipMaxCargoWeight()
- Weapon Function GetWeaponGroupBaseObject(ActorValue aWeaponGroupSystemHealth)
- bool Function HasPerk(Perk akPerk)
- bool Function InstantDock(ObjectReference akTarget)
- Function InstantUndock()
- bool Function IsAIEnabled()
- bool Function IsAlarmed()
- bool Function IsAlerted()
- bool Function IsDead()
- bool Function IsDetectedBy(SpaceshipReference akOther)
- bool Function IsDocked()
- bool Function IsDockedWith(SpaceshipReference akTarget)
- bool Function IsDockedAsChild()
- bool Function IsEssential(bool abIncludeActors = true)
- bool Function IsGhost()
- bool Function IsHostileToSpaceship(SpaceshipReference akSpaceship)
- bool Function IsInCombat()
- bool Function IsInFaction(Faction akFaction)
- bool Function IsInScene()
- bool Function IsLanded()
- bool Function IsProtected(bool abIncludeActors = true)
- bool Function IsRampDown()
- Function Kill(SpaceshipReference akKiller = none)
- Function KillEssential(SpaceshipReference akKiller = none)
- Function KillSilent(SpaceshipReference akKiller = none)
- Function ModFactionRank(Faction akFaction, int aiAmount)
- Function MoveToPackageLocation()
- Function OpenInventory()
- Function LockPowerAllocation(int aiShipPartID, int aiShipPartIndex, bool abLock = true)
- int Function PathToReference(ObjectReference aTarget, float afNormalizedSpeed, float afNormalizedRotationSpeed, float afTargetRadius = -1.0, bool abHardRadius = false)
- Function RemoveFromAllFactions()
- Function RemoveFromFaction(Faction akFaction)
- Function RemovePerk(Perk akPerk)
- Function SendAssaultAlarm()
- Function SendPiracyAlarm()
- Function SendSmugglingAlarm(bool abCheckWholeShip = true)
- Function SetAlert(bool abAlerted = true)
- Function SetAttackShipOnSight(bool abAttackOnSight = true)
- Function SetAvoidPlayer(bool abAvoid = true)
- Function SetCombatStyle(CombatStyle akCombatStyle)
- Function SetCrimeFaction(Faction akFaction)
- Function SetEssential(bool abEssential)
- Function SetFactionRank(Faction akFaction, int aiRank)
- Function SetGhost(bool abIsGhost = true)
- Function SetNoBleedoutRecovery(bool abBleedoutRecoveryNotAllowed = true)
- Function SetNotShowOnStealthMeter(bool abNotShow = true)
- Function SetPartPower(int aiShipPartID, int aiShipPartIndex, int aiPower)
- Function SetPlayerResistingArrest()
- Function SetProtected(bool abProtected)
- Function ShowBarterMenu()
- Function StartCombat(SpaceshipReference akTarget, bool abPreferTarget = false)
- Function StopCombat()
- Function StopCombatAlarm()
- Function TakeOff()
- Function SetForwardVelocity(float aVelocity)
- Function SetUnconscious(bool aUnconscious)
- Function SetIgnoreFriendlyHits(bool aIgnoreFriendlyHits)
- float Function GetGravJumpRange()
- Keyword Function GetReactorClassKeyword()
- Event OnCombatStateChanged(ObjectReference akTarget, int aeCombatState)
- Event OnSpaceshipCombatListAdded(SpaceshipReference akTarget)
- Event OnSpaceshipCombatListRemoved(SpaceshipReference akTarget)
- Event OnEnterBleedout()
- Event OnEscortWaitStart()
- Event OnEscortWaitStop()
- Event OnLocationChange(Location akOldLoc, Location akNewLoc)
- Event OnRecoverFromBleedout()
- Event OnShipDock(bool abComplete, SpaceshipReference akDocking, SpaceshipReference akParent)
- Event OnShipFarTravel(Location aDepartureLocation, Location aArrivalLocation, int aState)
- Event OnShipGravJump(Location aDestination, int aState)
- Event OnShipLanding(bool abComplete)
- Event OnShipRampDown()
- Event OnShipRefueled(int aFuelAdded)
- Event OnShipScan(Location aPlanet, ObjectReference[] aMarkersArray)
- Event OnShipSystemPowerChange(ActorValue akSystem, bool abAddPower, bool abDamagedRelated)
- Event OnShipSystemDamaged(ActorValue akSystem, int aBlocksLost, bool aElectromagneticDamage, bool aFullyDamaged)
- Event OnShipSystemRepaired(ActorValue akSystem, int aBlocksGained, bool aElectromagneticDamage)
- Event OnShipTakeOff(bool abComplete)
- Event OnDeath(ObjectReference akKiller)
- Event OnDying(ObjectReference akKiller)
- Event OnKill(ObjectReference akVictim)
- Event OnShipUndock(bool abComplete, SpaceshipReference akUndocking, SpaceshipReference akParent)
- Event OnShipBought()
- Event OnShipSold()
- bool Function IsExteriorLoadDoorInaccessible()
- Function SetExteriorLoadDoorInaccessible(bool abInaccessible = true)
- bool Function IsLandingDeckClear()