Oh yeah, thanks for pointing that out freecode cause i now see the exact same thing in the engine_const include. I will post the EV_INT types up just in case anyone else is working on making an entity
This is what you replace iKey with when you use this function: set_entity_int(iIndex, iKey, iVal). Now the constants below can be used for a variety of things, such as making an entity move, making weapon animations, like when right when you change or get the weapon, or reloading, etc. Basically, if you want to do like ALMOST ANYTHING to an entity you'd use these constants.
Code:
/* Int */
enum {
EV_INT_gamestate = 0,
EV_INT_oldbuttons,
EV_INT_groupinfo,
EV_INT_iuser1,
EV_INT_iuser2,
EV_INT_iuser3,
EV_INT_iuser4,
EV_INT_weaponanim,
EV_INT_pushmsec,
EV_INT_bInDuck,
EV_INT_flTimeStepSound,
EV_INT_flSwimTime,
EV_INT_flDuckTime,
EV_INT_iStepLeft,
EV_INT_movetype,
EV_INT_solid,
EV_INT_skin,
EV_INT_body,
EV_INT_effects,
EV_INT_light_level,
EV_INT_sequence,
EV_INT_gaitsequence,
EV_INT_modelindex,
EV_INT_playerclass,
EV_INT_waterlevel,
EV_INT_watertype,
EV_INT_spawnflags,
EV_INT_flags,
EV_INT_colormap,
EV_INT_team,
EV_INT_fixangle,
EV_INT_weapons,
EV_INT_rendermode,
EV_INT_renderfx,
EV_INT_button,
EV_INT_impulse,
EV_INT_deadflag,
}
__________________