This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi everyone,

How are weapon animation events properly meant to be used? I have a sequence 
with an event on a model, the QC line is:

$sequence swing "v_human_shortsword_swing" activity ACT_VM_MISSCENTER 1 fps 20 
{ frames 11 20 } { event 3003 3 }

the event code is for EVENT_WEAPON_MELEE_SWISH.


Then in the Operator_HandleAnimEvent function in my weapon code, i added a case 
for that event. I decided in that case to set a bool to true, so that in the 
postframe function, i can see that the event had occurred, and go from there.

however, strange things happenned, it seemed as though the bool were set, but 
also as if that didnt matter in the functions which were then called from the 
postframe function.

my guess is im using the events in an inproper fashion, any suggestions as to 
what im doing wrong?

Thanks,
    l3fty
--


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to