Functions Documentation
View Function Edit Function
Name objGetName
Syntax (objGetName spaceObject [number]) -> string
Argument List spaceObject: The space object that you want the name from.
[number]: An optional naming code
Returns string: The name of the space object.
Category spaceobject, name
Description Returns the name of space object. You must provide a flag to indicate how you want the name formatted. For more on flags, see:
(objGetName gplayerShip)
Returns the name of the player ship.
(objGetName gplayerShip 2)

Returns the pluralized name of the player ship.
Comment Basic space object function to get the space objects name.
[number] can be:
1 = capitalize
2 = pluralize
4 = prefix with 'the' or 'a'
8 = prefix with count