Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Pwnage
17
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Counter-Strike Source/My Computer
Posted: 13th Aug 2007 19:02
I dont understand how the command AI GET ENTITY ACTION$ works
I want to use it to help make my character play the right animation at the right time. I tried doing this but it didnt work


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 17th Aug 2007 21:36
do
action$=ai get entity action$
here's some of my code for controlling animation. It's pretty similar to what you've got, but it works.. Hope this helps.

it's called as a function from the main loop, because I first need to check if the entity is dead or not.




Pwnage
17
Years of Service
User Offline
Joined: 3rd Apr 2007
Location: Counter-Strike Source/My Computer
Posted: 18th Aug 2007 19:30
Thank you, I was stuck on that command for a while now and I didnt know that it was actually that simple

Login to post a reply

Server time is: 2024-11-24 18:30:49
Your offset time is: 2024-11-24 18:30:49