User Tools

Site Tools


modding:function:objgetmass

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

modding/function/objgetmass.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1