Discuss this page on this pages TalkPage

obGetProperty

Syntax (objGetProperty obj property)
Arguments obj: The space object to check the property on
property: The property to retrieve
Returns Value
Category spaceObject functions
Description Retrieves a property from a space object. Functionally the same as typGetProperty, but saves you from getting the object's UNID first.

Properties

All objects

'ascended
'category
'cyberDefenseLevel
'dockingPorts
'hasDockingPorts
'id
'known
'mass
'paintLayer
'playerMissionsGiven
'scale
'underAttack
 
Ships
		
 'alwaysLeaveWreck
 'availableDeviceSlots
 'availableNonWeaponSlots
 'availableWeaponSlots
 'blindingImmune
 'character
 'characterClass
 'commsKey
 'deviceDamageImmune
 'deviceDisruptImmune
 'disintegrationImmune
 'dockedAtID
 'dockingEnabled
 'EMPImmune
 'interiorHP
 'maxInteriorHP
 'operatingSpeed
 'playerWingman
 'radiationImmune
 'rotation
 'selectedLauncher
 'selectedMissile
 'selectedWeapon
 'shatterImmune
Stations
 'abandoned
 'angry
 'barrier
 'currency
 'destNodeID
 'destStargateID
 'dockingPortCount
 'hp
 'ignoreFriendlyFire
 'immutable
 'installArmorMaxLevel
 'installDeviceMaxLevel
 'maxHP
 'maxStructuralHP
 'openDockingPortCount
 'orbit
 'parallax
 'playerBlacklisted
 'refuelMaxLevel
 'removeDeviceMaxLevel
 'repairArmorMaxLevel
 'shipConstructionEnabled
 'shipReinforcementEnabled
 'stargateID
 'structuralHP
Missiles
 'lifeLeft
 'rotation
 'sourceObj
 'target

NOTE: All type properties (accessed via typGetProperty) are also valid object properties.

Example

 (objGetProperty gPlayership 'mass) 

Returns the mass of the playership.

Return to Space Object functions list

Return to functions list