Functions Documentation
View Function Edit Function
Name objGetDamageType
Syntax (objGetDamageType spaceObject)
Argument List spaceObject: The thing you want to know the damage type of.
Returns number: The damage type.
Category spaceobject
Description Returns the damage type of the object.
Example
Comment Used to get the damage type of an objects current primary weapon.
Damage types are returned as numbers and are:
0 - Laser
1 - Kinetic
2 - Particle
3 - Blast
4 - Ion
5 - Thermo
6 - Positron
7 - Plasma
8 - Antimatter
9 - Nano
10 - Graviton
11 - Singularity
12 - DarkAcid
13 - DarkSteel
14 - DarkLightning
15 - DarkFire