1) Is there a way to set set the view angle of the model's upper body (not player, just a model of) like
EV_VEC_v_angle to the player?
I mean, without Orpheu or changing the model.
I've tried to do it with
pev_blendings, but I only made it look straight and right like this:
pev_blending_0: 0 250 -250
But I can't force it to look down, or left.
2) How can I play the animation on the alive player?
Someone once told me it has to be something like this:
PHP Code:
public EVENT_StartFramePost()
{
for(new idUser=1; idUser <= MAXPLAYERS; idUser++)
{
if(!is_user_alive(idUser))
continue;
if(p_data_b[idUser][PB_FAKE_DYING]) // If he should start dying
{
entity_set_int(idUser,EV_INT_sequence, random_num(103,110) )// Death animation
}
}
}
I need to play the death animation (pretend to be dead), and also leave the opportunity to kill him, by hitting hitboxes. Is this even possible?