Post: Unbreakable Buildables on Zombies
10-19-2015, 09:28 AM #1
BullyWiiPlaza
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); I was trying to make all buildables in Zombies unbreakable by damage e.g. when the Zombies punch them, they would never get destroyed.

In particular, I want the Jet Gun laying on the ground, Turbine, Electric Trap, Turret and Zombie shield to have "unlimited health".

For the Zombie Shield I came up with a working script which is as follows:

    enableUnbreakableZombieShield()
{
self endon("disconnect");
level endon("game_ended");

while(1)
{
self.shieldDamageTaken = 0;

wait 0.1;
}
}


My scripts for the other buildables are not working and are as follows:

    enableUnbreakableTurbine()
{
self endon("disconnect");
level endon("game_ended");

while (1)
{
self.turbine_health = 1200;

wait 1;
}
}

enableUnbreakableElectricTrap()
{
self endon("disconnect");
level endon("game_ended");

while(1)
{
self.electrictrap_health = 999999999;

wait 0.1;
}
}

enableUnbreakableTurret()
{
self endon("disconnect");
level endon("game_ended");

while(1)
{
self.turret_health = 999999999;

wait 0.1;
}
}

Even with those last 3 scripts enabled, the buildables break. For protecting the Jet Gun (when laying on the ground) I didn't find an approach possible script, yet.

Any ideas/scripts to protect all buildables or each of them individually (except for the Zombie Shield since I already got this one)?
(adsbygoogle = window.adsbygoogle || []).push({});
10-22-2015, 03:31 AM #2
FRINZ
I’m too L33T
ders actauly sumthing so they wont take damage
10-22-2015, 11:42 AM #3
BullyWiiPlaza
Climbing up the ladder
Originally posted by FRINZ View Post
ders actauly sumthing so they wont take damage

I think so too, so please let me know what it is Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo