V
v_rtex
Guest
How can my plugin listen entity outputs such as OnPlayerGotOnLadder, OnPlayerTouch, OnPhysGunPickup, OnMotionEnabled etc?
for example
http://developer.valvesoftware.com/wiki/Prop_combine_ball
OnMotionEnabled
Fired when motion is enabled on this prop, either via the Health Level to Override Motion keyvalue or from the EnableMotion input.
What is it fired?
Where is it fired?
Where can I listen that fired from?
PS
I get the game entity list (pEdictList) in my server plugin method
void CPlugin::ServerActivate(edict_t *pEdictList, int edictCount, int clientMax);
Why can I use this list?
somehow: ent = (CBaseEntity*) CBaseEntity::Instance(&pEdictList)??
thanX from n00b..
for example
http://developer.valvesoftware.com/wiki/Prop_combine_ball
OnMotionEnabled
Fired when motion is enabled on this prop, either via the Health Level to Override Motion keyvalue or from the EnableMotion input.
What is it fired?
Where is it fired?
Where can I listen that fired from?
PS
I get the game entity list (pEdictList) in my server plugin method
void CPlugin::ServerActivate(edict_t *pEdictList, int edictCount, int clientMax);
Why can I use this list?
somehow: ent = (CBaseEntity*) CBaseEntity::Instance(&pEdictList)??
thanX from n00b..