• 🏆 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!

Selection system messing up a map

Status
Not open for further replies.
Level 7
Joined
Aug 29, 2007
Messages
336
I've run into some weird stuff. I've put in a selection system to my map, and suddenly the map wont work. The teams dissapear and you cannot start the map. (Picture attached to post)
I've also attached the map, if someone would take a look at it I would be pleased :wink:
 

Attachments

  • WTF.jpg
    WTF.jpg
    52.9 KB · Views: 117
  • Hero Defence.w3x
    160.3 KB · Views: 51
Level 7
Joined
Aug 29, 2007
Messages
336
It's GUI.
The map won't even start. When you start it you get thrown back to the map selection :p
 
Level 8
Joined
Dec 8, 2007
Messages
312
why did you set all array sizes to 1 if you need 4? anyway , that wasn't your problem.
your problem: you used custom script to set udg_X[udg_Counter]. in variables list there is no udg_X or udg_Y

after I made X and Y variables and set all array sizes to 4(just in case) everyting seems fine.

here is proving picture
 

Attachments

  • New Image.JPG
    New Image.JPG
    99 KB · Views: 178
Level 7
Joined
Aug 29, 2007
Messages
336
Thank you very much.
The reason I only used 1 array was only for testing purposes :)
+rep
Solved!
 
Status
Not open for further replies.
Top