Discuss this page on this page's Talk Page

objGetMass

See objGetMass at Xelerus

Syntax (objGetMass spaceObject)
Arguments spaceObject: The space object that you want the mass from.
Returns number: the mass of the spaceobject and all of its cargo expressed in tons.
Category 0.99, spaceObject
Description Returns the mass of the spaceobject and all of its cargo.

Example

(objGetMass gPlayership)

Returns the total mass of the playership.

Return to Functions list