Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: um can someone help me debug something
um can someone help me debug something
Sep 20 2007, 2:32 am
By: DahLollipop  

Sep 20 2007, 2:32 am DahLollipop Post #1



So, I'm making this arena style map or if you played Naruto Jounin Battle, it's similar to that. When you pick the character, it spawns you to your healing place so if theres no one in the middle, it'll take you to the middle. But, first player on each team always fights first so i added a trigger that when first player enters the arena, the other player thats in the arena is moved back to his healing place. But in my map, i constantly get 2 people in at the same time and i cant fix it -_- im getting headaches and crap. Also, when i tag, sometimes it works perfectly but other times the player that's tagging remains in the arena and the player he tagged, comes in and the 2 players in the arena comes again. The triggers are:

Players 1-3:
Conditions:
Force 1 Brings at least 0 [men] to 'arena'
Force 1 Brings at least 1 [men] to 'p2 tag place'
Actions:
Move All [any unit] for Force 1 at 'p2 tag place' to 'p1 start place'
preserve trigger.
________________________________________________

Conditions:
Force 1 brings exactly 0 [men] to 'arena'
Force 1 brings exactly 0 [men] to 'p2 tag place'
Force 1 brings at least 1 [men] to 'p3 tag place'
Actions:
Move All [any unit] for Force 1 at 'p3 tag place' to 'p1 start place'.
Preserve Trigger.

These 2 triggers also apply to when a player dies in the arena.

Tag Triggers:
Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p3 tag'
Force 1 brings at least 1 [men] to 'p3 tag place'
Conditions:
Move All [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move All Aburame Shino for Current Player at 'arena' to 'p3 tag place'
Preserve trigger.
___________________________________________________

Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p2 tag'
Force 1 brings at least 1 [men] to 'p2 tag place'
Conditions:
Move all [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move all Aburame Shino for Current Player at 'arena' to 'p2 tag place'
Preserve Trigger.

By the way, this worked in 2 vs 2 version of my map but when i tried it in 3v3 it bugged up like crazy.

The map looks like this [Arena]
|
V
[p2 tag place] | [p2 tag] [p5 tag] | [p5 tag place]
| |
| [p1 start place] [p4 start place] |
| |
[p3 tag place] | [p3 tag] [p6 tag] | [p6 tag place]


PLEASE HELP D: I'm like 99% close to finishing my map and I really want to release it D:.
Edit:
Damn, uhh dont pay attention to what the map looks like.. i type it up in this post new topic box.. and it looks fine but it looks completely different when it's actually posted.. so forget that thing



None.

Sep 20 2007, 3:08 am qPirateKing Post #2



Um, hold on, I want to quote so I'll make another post. Sorry.

Post has been edited 1 time(s), last time on Sep 20 2007, 3:15 am by qPirateKing.



None.

Sep 20 2007, 3:13 am qPirateKing Post #3



Quote from DahLollipop
So, I'm making this arena style map or if you played Naruto Jounin Battle, it's similar to that. When you pick the character, it spawns you to your healing place so if theres no one in the middle, it'll take you to the middle. But, first player on each team always fights first so i added a trigger that when first player enters the arena, the other player thats in the arena is moved back to his healing place. But in my map, i constantly get 2 people in at the same time and i cant fix it -_- im getting headaches and crap. Also, when i tag, sometimes it works perfectly but other times the player that's tagging remains in the arena and the player he tagged, comes in and the 2 players in the arena comes again. The triggers are:

Players 1-3:
Conditions:
Force 1 Brings at least 0 [men] to 'arena'
Force 1 Brings at least 1 [men] to 'p2 tag place'
Actions:
Move All [any unit] for Force 1 at 'p2 tag place' to 'p1 start place'
preserve trigger.
________________________________________________

Conditions:
Force 1 brings exactly 0 [men] to 'arena'
Force 1 brings exactly 0 [men] to 'p2 tag place'
Force 1 brings at least 1 [men] to 'p3 tag place'
Actions:
Move All [any unit] for Force 1 at 'p3 tag place' to 'p1 start place'.
Preserve Trigger.

These 2 triggers also apply to when a player dies in the arena.

Tag Triggers:
Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p3 tag'
Force 1 brings at least 1 [men] to 'p3 tag place'
Conditions:
Move All [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move All Aburame Shino for Current Player at 'arena' to 'p3 tag place'
Preserve trigger.
___________________________________________________

Players 1-3
Force 1 brings at least 1 Aburame Shino to 'p2 tag'
Force 1 brings at least 1 [men] to 'p2 tag place'
Conditions:
Move all [men] for Force 1 at 'p3 tag place' to 'p1 start place'
Move all Aburame Shino for Current Player at 'arena' to 'p2 tag place'
Preserve Trigger.

By the way, this worked in 2 vs 2 version of my map but when i tried it in 3v3 it bugged up like crazy.

Your first trigger says "at least 0." It should be 'exactly' or 'at most.' If it is at least 0, having one player in there will trigger it, meaning that you'll end up with both units inside.

As for it sometimes working and sometimes not, I think the problem is the fact that the p2 area trigger is wrong while the other one is correct. What this means is that it only messes up when the unit in the p2 area is not in the arena.



None.

Sep 20 2007, 4:51 am DahLollipop Post #4



hah yes thanks for fixing that bug but there another bug i discovered and it was that when 1st player is in the p3 tag place and the player inside the arena dies, player 1 doesn't get moved into the arena. When i tried to fix this bug, the 2 players inside the arena bug came up again. And even one time a catastrophic 3 v 3 inside the arena haha



None.

Sep 20 2007, 8:04 pm qPirateKing Post #5



Could you write out the triggers again now that you've fixed them? Without knowing what they look like now, it's hard to help.



None.

Sep 22 2007, 1:40 am DahLollipop Post #6



Ok, so basically I changed the "at least" back to "exactly" but the 2 in the arena still comes in at times.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy