HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Simple Trigger but it isnt working...

03-01-2004, 01:11 AM#1
BattleBotv8.2
I know for a fact the condiction and event are good, since a part of the trigger works.

Code:
Move XRegion1 on (Target unit of ability being cast)
Move XRegion2 on (Target unit of ability being cast)
Move XRegion3 on (Target unit of ability being cast)
Unit Group - Pick every unit XRegion1 and add to XUnitGroup
Unit Group - Pick every unit XRegion2 and add to XUnitGroup
Unit Group - Pick every unit XRegion3 and add to XUnitGroup
Pick every unit in XUnitGroup and do multiple actions;
Create special effect bla bla bla
Wait 1.25 Seconds
Unit - Move Picked Unit to Random Point in Entire Map
Create special effect bla bla bla
03-01-2004, 02:42 AM#2
BattleBotv8.2
Bump
03-01-2004, 03:06 AM#3
Transcendence
I PMed you, please let me know soon if you can help :-D
03-01-2004, 04:21 PM#4
volatile
DO NOT USE WAIT'S IN A PICK EVERY UNIT ACTION. THINK ABOUT IT... PICK ONE UNIT, DO THIS then wait 1.25 then PICK THE NEXT UNIT... GOSH, READ THE TIP ON THE BOTTOM OF THE WINDOW OF unit group - pick every unit!
03-01-2004, 04:40 PM#5
RaeVanMorlock
Quote:
Originally posted by volatile
DO NOT USE WAIT'S IN A PICK EVERY UNIT ACTION. THINK ABOUT IT... PICK ONE UNIT, DO THIS then wait 1.25 then PICK THE NEXT UNIT... GOSH, READ THE TIP ON THE BOTTOM OF THE WINDOW OF unit group - pick every unit!


Now wasn't that helpful?



Oi decisions... I was gonna type out an example of what to do, but then I realized it probably wouldn't work. I think the best approach to this would be to convert the trigger to custom text and use some local variables in place of the global ones because globals (and event-related stuff) is often altered during Wait statements. Yup.... post the map if you need someone to do it for ya.
03-02-2004, 12:34 AM#6
BattleBotv8.2
I got it myself, no thanks to a certain some one...
03-02-2004, 12:35 AM#7
kane635
volatile, I hope a moderator bans you from this site forever. For the ability person, lol, set the unit, don't focus a region over it and wait 1.25 seconds because the unit can move away from the region. Also, just do "Integer A from 1 - 3" do "Pick every unit in unit group" not three seperate regions.