GetMyClass

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search

This function was added in v1.8 beta and will not work on previous versions.


Description:
Returns the class ID of the npc. Returns negative values (-1,-2,..) if RequestClass was used with CLASS_PREVIOUS instead of CLASS_NEXT. If one cycle of all available classes has been visited, then this function returns non-negative values.


Parameters:

NoParams


Return Values:
The class ID as negative or non-negative integer



Related Functions

The following functions may be helpful as they relate to this function in one way or another.