This allowed to me to play whatever animation I wanted, without it changing around when walking or performing other actions (as would usually happen by using the prethink method), at least to myself (using third person cam). I wasn't able to test to see if it appears to other players correctly.
Code:
public plugin_init()
{
register_forward(FM_AddToFullPack,"fw_addtofullpack",1);
}
public fw_addtofullpack(es_handle,e,ent,host,hostflags,player,pSet)
{
if(!is_user_alive(ent))
return FMRES_IGNORED;
set_es(es_handle,ES_Sequence,100);
set_es(es_handle,ES_GaitSequence,100);
return FMRES_HANDLED;
}
I may have also had to set the sequence and gaitsequence values in prethink as well, I can't remember. Let me know if this works for you.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS