Raised This Month: $ Target: $400
 0% 

EngFunc_WalkMove Sequence Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 01-27-2014 , 22:56   Re: EngFunc_WalkMove Sequence Problem
Reply With Quote #1

Quote:
Originally Posted by DavidJr View Post
Solved by adding:

PHP Code:
SetVelocity(iEntFloat:flAngles[3])
{
          static 
Float:Direction[3];
          
engfunc(EngFunc_WalkMoveiEntflAngles[1], 100.0/100.0WALKMOVE_NORMAL);
          
angle_vector(flAnglesANGLEVECTOR_FORWARDDirection);
          
xs_vec_mul_scalar(Direction100.0Direction);
          
entity_set_vector(iEntEV_VEC_velocityDirection);
          
UTIL_ZombieSeq(iEntSEQ_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 View Post
You're right Metalicross
meTaLiCroSS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode