- Messages
- 138
- Reaction score
- 62
- Points
- 878
Code:
DoorDebrisvalues(value)
{
foreach( door in getentarray( "zombie_door", "targetname" ) )
{
door.zombie_cost = value;
door thread maps/mp/zombies/_zm_utility::set_hint_string( door, "default_buy_door", value );
}
foreach( debris in getentarray( "zombie_debris", "targetname" ) )
{
debris.zombie_cost = value;
debris thread maps/mp/zombies/_zm_utility::set_hint_string( debris, "default_buy_debris", value );
}
}
how can I make every door change the cost even the powered doors that need turbine