User Tools

Site Tools


modding:function:armgethitpoints

Discuss this page on this pages TalkPage

armGetHitPoints

See armGetHitPoints at Xelerus

Syntax (armGetHitPoints type) → Hit points of armor
Arguments type: The type of the armor you want to get the name from. This is not the UNID.
Returns The amount of hit points of the armor
Category 0.99, armor, armortype
Description Get the max hit points on the armor segment.

Example

Get the player ships forward armor segment, and see how many hitpoints it has:

(armGetHitPoints (objGetArmorType gPlayerShip 0))

Return to Functions list

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