User Tools

Site Tools


modding:function:objgetarmortype

Discuss this page on this pages TalkPage

objGetArmorType

See objGetArmorType at Xelerus

Syntax (objGetArmorType spaceObject number)
Arguments spaceObject: The space object that you want to get the type of armor from.
number: The segment number that you want to get the name of.
Returns ArmorType: The armor type of the armor at that segment.
Category armor, spaceobject
Description Returns the armortype of the armor segment.

Example

(objGetArmorType gPlayerShip 0)

Returns the armor type of the player ships forward armor. Return to Functions list

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