I was able to get into contact with DidUKnowiPwn and he pointed me in the direction of level.zombie_weapons which is an array of all the weapons in the game where the weapon (GetWeapon("weapon name")) is the index in the array. All of these can be accessed with GetArrayKeys. Since the keys...
7 years ago
to me your script looks fine, most likely either the new line or the character that comes directly after it (on windows when you hit enter you are making 2 characters) was corrupted meaning that just deleting that line and replacing it would have most likely solved the issue.
7 years ago
I am working on a sharp shooter mod for zombies and need to get all the weapons on a map for it, which may vary from map to map as there are a lot of people working on porting weapons and they are starting to show up in increasing numbers in zombies maps. I have tried using tablelookup, but that did...
8 years ago
I have a bit of a question... why in the get_zw_count function, why do you write:
[code]
if ( IS_TRUE( enemies.ignore_enemy_count ) )
{
continue;
}
ARRAY_ADD( level.current_zw_array, enemies );
}
level.current_zw_count = level.current_z...
[code]
if ( IS_TRUE( enemies.ignore_enemy_count ) )
{
continue;
}
ARRAY_ADD( level.current_zw_array, enemies );
}
level.current_zw_count = level.current_z...
8 years ago