UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Script runtime error

broken avatar :(
Created 10 years ago
by R34CTz
0 Members and 1 Guest are viewing this topic.
2,886 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 April 2015
Last active: 7 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
R34CTz's Groups
R34CTz's Contact & Social Links
I finally have my menu working, but now it gives me a script run time error assert fail. and when i look in the console it has this
Code Snippet
Plaintext
******* script runtime error *******
assert fail: (file 'maps/_names.gsc', line 7)
assert( !IsDefined( level.names ) );
*
Error: called from:
(file 'maps/ugx_pap_handle.gsc', line 18)
maps\_names::setup_names(); // name for AI ;)
*
Error: called from:
(file 'maps/_loadout.gsc', line 426)
maps\ugx_pap_handle::init();
*
Error: called from:
(file 'maps/_loadout.gsc', line 16)
init_models_and_variables_loadout();
*
Error: called from:
(file 'maps/_load.gsc', line 321)
maps\_loadout::init_loadout();
*
Error: called from:
(file 'maps/_zombiemode.gsc', line 50)
maps\_load::main();
*
Error: called from:
(file 'maps/nazi_zombie_alpha.gsc', line 119)
maps\_zombiemode::main();
*
Error: started from:
(file 'maps/nazi_zombie_alpha.gsc', line 9)
main()
*
Can someone please help me?
Last Edit: May 19, 2015, 02:49:30 pm by lukkie1998
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 12 months ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Quote from: Zeroy's Scripting Reference
Assert that the given statement is correct. The function will throw a script error if this is false.
Since you are using ! before isDefined, it means it will throw a script error if your variable, level.names, IS defined. If you want to stop the game when level.names IS NOT defined, remove the '!' from that line.

Lukkie1998
Last Edit: May 19, 2015, 02:54:29 pm by lukkie1998
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 18 April 2015
Last active: 7 years ago
Posts
10
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
R34CTz's Groups
R34CTz's Contact & Social Links
Since you are using ! before isDefined, it means it will throw a script error if your variable, level.names, IS defined. If you want to stop the game when level.names IS NOT defined, remove the '!' from that line.

Lukkie1998

Thanks! I managed to get it all working last night. So now im just gonna work on the rest of the map and hopefully not run into any errors. Though there are a few things i would like to do that i dont know how to but ive seen other maps with it. Seems ill be on google quite often
Marked as best answer by R34CTz 10 years ago
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 12 months ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Thanks! I managed to get it all working last night. So now im just gonna work on the rest of the map and hopefully not run into any errors. Though there are a few things i would like to do that i dont know how to but ive seen other maps with it. Seems ill be on google quite often
alright, glad to hear it helped :D Please mark my answer as best answer, so this question can be closed ;)

Thanks!

Lukkie1998

 
Loading ...