HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Got stucked...

04-15-2007, 04:50 AM#1
Nave47
I need some one to check on my maps triggers(GUI), Its a simple waypoint system that has 4 spawn points. My problem is only 1 of the 4 gets to the specified destination and the other 3 gets stuck at random points of their waypoint.

The variables and destinations are correct, I just don't know why those 3 keeps on getting stuck at some points. I've been trying to solve this for 2 hours still I can't find where I'm wrong.

+karma to those who can help me.
Attached Files
File type: w3xtest.w3x (50.0 KB)
04-15-2007, 05:27 AM#2
Ammorth
You need to double-check your events, some are not using the right regions.
04-15-2007, 07:55 AM#3
Nave47
Heve you read my post and check the map? I couldn't see anything wrong with it.
04-15-2007, 09:19 AM#4
blu_da_noob
He is correct. For example, in trigger NWWayPoint5 you have unit enters NEWay4 instead of NWWay4. And in SWWayPoint3 you have unit enters SWWay3 instead of SWWay2. And in SEWayPoint2 you have unit enters SEWay2 instead of SEWay1. And in SEWayPoint5 you have unit enters NEWay4 instead of SEWay4.
04-15-2007, 09:35 AM#5
Nave47
o.O ... LOL!!!! both of you thank you!!! I really need to learn jass, GUI is confusing sometimes.
04-15-2007, 03:00 PM#6
Ammorth
In the future, try debugging your triggers yourself. Think:
  • What am I trying to do?
  • What does work?
  • What doesn't work?
  • Which trigger controls the outcomes?
  • What is happening instead?
  • What could cause it to happen?
Once you have answered all of those, sift through your triggers and try to locate the error.

I found when I was working with GUI, you would think the trigger says something, but really it doesn't and says something else, yet your mind would skim over it and see it as okay. What you can do is copy the entire trigger as text and past it into notepad and then READ it. It was easier for me to read it in that environment then in the trigger editor.
04-16-2007, 12:08 AM#7
Nave47
Yes I always do that, I just got cofused with the NE for NW and SW for SE variables but thanks.