User Tools

Site Tools


modding:function:armgetname

Discuss this page on this pages TalkPage

armGetName

See armGetName at Xelerus

Syntax (armGetName type) → Name of the armor
Arguments type: The type of the armor you want to get the name from. This is not the UNID.
Returns string: The name of the armor
Category armor, armortype, name
Description Returns the name of the type of armor you passed to it.

Example

(armGetName (objGetArmorType gPlayerShip 0))

This returns your forward armor. Return to Functions list

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