Urban Wars
April 17, 2024, 11:38:00 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome, here you will find all the information on Urban Wars
 
  Home Help Search Staff List Login Register  

adding a new set of animation frames?

Pages: [1]
  Print  
Author Topic: adding a new set of animation frames?  (Read 224 times)
Mexicouger
Lieutenant
*
Posts: 111


View Profile
« on: April 28, 2010, 09:19:59 pm »

I did the first animation thing. I made a function called player_shot_throw. Then I put     

 self.weaponframe += 1;   
if (self.weaponframe >= 62)
{
pull finished();   
return;
}   
superdamagesound();   
 self.attack_finished = time + 0.2);     
self.impulse = MSG_BROADCAST; 
}; 

That is my code. I also put

startwframe (self, 51); 

 So if I want this animation to be played every time I switch weapons, where would I put it?  Would I put it in cycleweaponcommand? How do I actually view this animation in game?
« Last Edit: May 04, 2010, 09:55:08 am by Mexicouger » Report Spam   Logged


Pages: [1]
  Print  
 
Jump to:  


Get your own Chat Box! Go Large!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy