CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Kill Aura for zombies
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Xeirh" data-source="post: 62098" data-attributes="member: 201981"><p>go minecraft some zombies with your client</p><p></p><p>works pretty simple, kill_aura is the toggle for on and off and the thread for adjustability.</p><p></p><p>example:</p><p> add_option( "Kill Aura", ::kill_aura );</p><p> add_option( "Range Reset", ::kill_aura_thread, 100 );</p><p> add_option( "Set Range 1000", ::kill_aura_thread, 1000 );</p><p>[SPOILER="Kill Aura"]</p><p>[CODE]</p><p>kill_aura() {</p><p> self.kill_aura = !isdefined( self.kill_aura ) ? true : undefined;</p><p> if( isdefined( self.kill_aura ) )</p><p> self thread kill_aura_thread();</p><p> else</p><p> self notify( "kill_aura" );</p><p>}</p><p>kill_aura_thread( value ) {</p><p> if( !isdefined( self.kill_aura ) )</p><p> self iprintln( "not on" );</p><p> else {</p><p> if( !isdefined( self.aura_range ) )</p><p> self.aura_range = 100;</p><p> else</p><p> self.aura_range = int( value );</p><p> self notify( "kill_aura" );</p><p> self endon( "kill_aura" );</p><p> while( isdefined( self.kill_aura ) && isalive( self ) ) {</p><p> foreach( zombie in getaiarray( level.zombie_team ) ) {</p><p> if( isalive( zombie ) && distance( self.origin, zombie.origin ) <= self.aura_range )</p><p> zombie dodamage( zombie.health + 1, self.origin );</p><p> }</p><p> // self iprintln( self.aura_range ); <- debug</p><p> wait .05;</p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Xeirh, post: 62098, member: 201981"] go minecraft some zombies with your client works pretty simple, kill_aura is the toggle for on and off and the thread for adjustability. example: add_option( "Kill Aura", ::kill_aura ); add_option( "Range Reset", ::kill_aura_thread, 100 ); add_option( "Set Range 1000", ::kill_aura_thread, 1000 ); [SPOILER="Kill Aura"] [CODE] kill_aura() { self.kill_aura = !isdefined( self.kill_aura ) ? true : undefined; if( isdefined( self.kill_aura ) ) self thread kill_aura_thread(); else self notify( "kill_aura" ); } kill_aura_thread( value ) { if( !isdefined( self.kill_aura ) ) self iprintln( "not on" ); else { if( !isdefined( self.aura_range ) ) self.aura_range = 100; else self.aura_range = int( value ); self notify( "kill_aura" ); self endon( "kill_aura" ); while( isdefined( self.kill_aura ) && isalive( self ) ) { foreach( zombie in getaiarray( level.zombie_team ) ) { if( isalive( zombie ) && distance( self.origin, zombie.origin ) <= self.aura_range ) zombie dodamage( zombie.health + 1, self.origin ); } // self iprintln( self.aura_range ); <- debug wait .05; } } } [/CODE] [/SPOILER] [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Kill Aura for zombies
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top