• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[vJASS] Problems with the custom race script

Status
Not open for further replies.
Level 15
Joined
Jan 12, 2011
Messages
1,197
Hi guys,
I have been creating for my map the custom race triggers which is based on this map:http://www.hiveworkshop.com/forums/spells-569/blizz-like-melee-settings-extra-races-2-3-a-186851/

And after i copied all of the triggers and the script to my map and i save it then it tells me that some errors are in this script.
I do not know why because in the other map which i linked did not have this problem. And i made everything properly, the triggers and variables, too.
Would someone fix for me this script error? Please do it in my map or just tell me the right code. Because i really want to make custom race in it and i am very new to Jass.

I attach my map and a picture to see what the problem is and to help me, please. I would really appreciate this.
Here is the pic:
attachment.php
 

Attachments

  • Superbug.JPG
    Superbug.JPG
    212.2 KB · Views: 267
  • Through Snow and Ice v.2.0.w3x
    7.6 MB · Views: 79
Last edited:
Level 18
Joined
Jan 21, 2006
Messages
2,552
First, make sure you have variables that are required. For example, in the above photo I can see that a variable by the name of AM_AI_PlayerNum is used by the system. Make sure you have made a variable (in the variable editor or whatever) with that name.

The reason it says udg_ before that is the signature that variable-editor-made variables get.
 
Level 15
Joined
Jan 12, 2011
Messages
1,197
Many thanks, Berb and overlord ice. :) I will try make the variables (maybe this is the problem) and then i will try it again. I hope then it will work.

EDIT: It does not solved the problem, the Jass still does not working and i even cannot play in my map. So please help me, i really want to try the custom races of my map and i have been working more than 2 hours on the variables. So please help me.

How come that it works for other map creators but for me, it doesn't.
 
Level 7
Joined
Apr 30, 2011
Messages
359
Many thanks, Berb and overlord ice. :) I will try make the variables (maybe this is the problem) and then i will try it again. I hope then it will work.

EDIT: It does not solved the problem, the Jass still does not working and i even cannot play in my map. So please help me, i really want to try the custom races of my map and i have been working more than 2 hours on the variables. So please help me.

How come that it works for other map creators but for me, it doesn't.

if the system uses any 'udg_XXX' variables, make sure you have it in your trigger editor (that variables thingy) . . . set it to what it needs to be and name it 'XXX' . . .
make sure you have updated your JassHelper, and followed the instructions to install JNGP i gave you . . .
well . . . i really dislike the system >.< (JASS, not vJASS, and long script, how can you stand reading it @.@)
 
Status
Not open for further replies.
Top