Post: Dancing Zombies
08-09-2012, 06:02 PM #1
AlabamaHit
ROLL TIDE!!!
(adsbygoogle = window.adsbygoogle || []).push({}); I came across this by accident. I was trying to do something else, but noticed that when I used the crouch zombies kinda looked like they where dancing, lol.

I don't have any recorder so I can't record. If someone post a video of the code running I will add it here and give credit for the video to you.

Anyway nothing hard. Just a function. Enjoy, I find it funny. My two boys do also. The only thing with it, is they zombies "will" die. I guess they dance themself to death :lol:

    
zombiesDance()
{
self endon("disconnect");
self endon("death");
self endon("stop_dance");
if(self.zombie_dance == false)
{
self iPrintlnBold( "Zombie Are: ^5Dancing" );
self.zombie_dance = true;
for(;Winky Winky
{
zombies = GetAiSpeciesArray( "axis", "all" );
for( i = 0;i < zombies.size;i++ )
{
if(zombies.size == 1){self.zombie_dance = false; self notify("stop_dance");}//This is to turn it off with last zombie. If we don't it will cause some lag. We don't like lag!.
zombies[i] allowedStances( "crouch" );
wait .1;
}
}
}
else
{
self iPrintlnBold( "Zombie Are: ^5Not Dancing" );
self.zombie_dance = false;
zombies = GetAiSpeciesArray( "axis", "all" );
for( i = 0;i < zombies.size;i++ )
{
zombies[i] allowedStances( "stand" );
}
self notify("stop_dance");
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to AlabamaHit for this useful post:

Choco, chris2k7sears, FAKA_ELITE, Im Po, Taylor,
08-10-2012, 09:03 AM #2
lol thanks for this!!!1
08-10-2012, 09:20 AM #3
Media907
League Champion
any1 recorded this yet

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo