|
Author
|
Message
|
|
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
|

01-27-2014
, 22:56
Re: EngFunc_WalkMove Sequence Problem
|
#1
|
Quote:
Originally Posted by DavidJr
Solved by adding:
PHP Code:
SetVelocity(iEnt, Float:flAngles[3])
{
static Float:Direction[3];
engfunc(EngFunc_WalkMove, iEnt, flAngles[1], 100.0/100.0, WALKMOVE_NORMAL);
angle_vector(flAngles, ANGLEVECTOR_FORWARD, Direction);
xs_vec_mul_scalar(Direction, 100.0, Direction);
entity_set_vector(iEnt, EV_VEC_velocity, Direction);
UTIL_ZombieSeq(iEnt, SEQ_WALK);
}
I have a question with this. Is it good to combine EngFunc_WalkMove with angle_vector, xs_vec_mul_scalar, and set the velocity like above?
|
Test it without WalkMove and see what happens.
About idle sequences, you can try this: http://forums.alliedmods.net/showpos...&postcount=115
__________________
Quote:
Originally Posted by joropito
You're right Metalicross
|
|
|
|
|