UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: LingerCustomMap on August 31, 2016, 07:50:11 pm

Title: Undefined is not a field Object
Post by: LingerCustomMap on August 31, 2016, 07:50:11 pm
after adding a wall weapon i get the error: Undefined is not a field object . i have see a man was having problem with this and one answered that weapon i add isnt in _zombiemode_weapons.gsc but the weapons i added are there: PPSH , gewer , springfield, thompson , mp40
console.log:
********* script runtime error **********
undefined is not a field object: (file 'maps/_zombiemode_weapons.gsc', line 417)
return level.zombie_weapons[weapon_name].hint;

Error called from:
(file 'maps/_zombiemode_weapons.gsc', line 383)
hint_string = get_weapon_hint( weapon_spawns.zombie_weapon_upgrade );
                     *
Error: called from:                 
(file 'map/_zombiemode_weapons.gsc, line 8)
init_weapon_upgrade();
*
Error: called from:
(file 'map/_zombiemode.gsc', line 59)
maps\_zombiemode_weapons::init();
*
Error: called from:
(file 'maps/nacht_der_toten.gsc', line 99)
maps\_zombiemode::main();
*
Error: started from:
(file 'maps/nacht_der_toten.gsc', line 21)
main() {
*

thanks for who gonna help me , i'm new on this !
Title: Re: Undefined is not a field Object
Post by: LingerCustomMap on September 02, 2016, 06:08:28 pm
anyone ? :/ :(
Title: Re: Undefined is not a field Object
Post by: LingerCustomMap on September 05, 2016, 02:59:28 pm
its FIXED :D