Field

From NPC for VCMP 0.4 Servers
Revision as of 16:57, 21 August 2023 by Habi (talk | contribs)
Jump to navigation Jump to search

To be used with SetLocalValue. I_xx means integer, F_yy means float and V_ means vector. For example GetLocalValue(F_CAR_HEALTH) returns the health of the car in which npc is currently sitting.

I_KEYS 
F_POSX
F_POSY
F_POSZ
F_ANGLE
I_HEALTH
I_ARMOUR
I_CURWEP
I_CURWEP_AMMO 
V_ONFOOT_SPEED (since v1.6 beta3)
V_AIMPOS (since v1.6 beta3)
V_AIMDIR (since v1.6 beta3)
V_POS
Q_CAR_ROTATION
V_CAR_SPEED
I_CAR_DAMAGE
F_CAR_HEALTH
F_CAR_TURRETX
F_CAR_TURRETY