natesmithzombies

this maybe

Jan 3rd, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.47 KB | None | 0 0
  1. // Paste the below in your mapname.gsc
  2.  
  3. function increase_zom_sprint_speed()
  4. {
  5.     if( !isDefined( level._zombie_custom_spawn_logic ) )
  6.         level._zombie_custom_spawn_logic = [];
  7.    
  8.     level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
  9. }
  10.  
  11. function change_zom_anim_rate()
  12. {
  13.     iprintlnbold( "^2Increased Move Speed Scale" );
  14.     self ASMSetAnimationRate( 2.0 );
  15. }
  16.  
  17. // add this in your function main
  18.  
  19. increase_zom_sprint_speed();
Add Comment
Please, Sign In to add comment