| 07-06-2003, 07:29 PM | #1 |
Does the "If/Then/Else Multiple function" not work or something? i made this and it doesnt work: :( EVENT: --Unit enters region CONDITION: EVENT: --Remove triggering unit -- If (region1 contains no unit) then (Create 1 warden in region1) Esle ( If (region 2 contains no unit) then (Create 1 warden in region1) Else (....goes on to region 7...) enyone know whats wrong? |
| 07-06-2003, 08:52 PM | #2 |
can NOBODY help me...? |
| 07-06-2003, 08:59 PM | #3 |
Why is everyone so impatient? Sorry for not posting anything relative to the topic, but ppl like you suck, you barely waited an hour, or did u even? ppl rnt gonna jump at the chance to answer your questions |
| 07-06-2003, 09:02 PM | #4 |
first of all i waited an hour and a half, if u cant tell by the time under my post... second of all "ppl like me" do this so the thread goes up again so ppl can see it. after waiting an hr and a half my thread was getting bumped to the second page, and if it did nobody would ever answer... |
| 07-06-2003, 09:02 PM | #5 |
Code:
-- If (region1 contains no unit) Code:
Esle ( If (region 2 contains no unit) You are using the "no unit" entity, and with that the function (region X contains no unit) will always return false, and so none of your wardens will ever be created. I don't know what your trigger is supposed to do though, so I can't correct you. Regards, Peppar |
| 07-06-2003, 09:04 PM | #6 |
ah, ok... can you help me do this? there are 6 regions, and 6 players. each player can choose a hero. i want the first person who chooses the hero to go on the first region, the second person who chose their hero on the second region and so on... |
| 07-06-2003, 09:12 PM | #7 |
You would need to replace your If statements to this: Code:
If ( Unit - Count Units in Unit Group ( Units in Region ( region1 ) ) Equal to 0 ) Then ... Else If ( Unit - Count Units in Unit Group ( Units in Region ( region2 ) ) Equal to 0 ) Then... Else If ... And so on. |
| 07-06-2003, 09:16 PM | #8 |
ahhh, right. thanx a lot. |
