HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

"Picked Unit" Function Is Not Working ???

02-13-2008, 08:38 PM#1
evolve2000
I HAVE A QUESTION ABOUT THIS TRIGGER...
A HAVE MARKED BY UNDERLINE MY PROBLEM
UNDERLINED FUNCTIONS ARE NOT WORKING... BUT WHY ??? I AM GETTING CRAZY...

Quote:
Blood Raven Effect 2
Quote:
Events
Unit - A unit Dies
Quote:
Conditions
(Unit-type of (Dying unit)) Equal to Blood Raven (Level 12)
Quote:
Actions
Quote:
Unit Group - Pick every unit in (Random 1 units from (Units within 1000.00 of (Position of (Dying unit)) matching ((Unit-type of (Matching unit)) Equal to Zombie (Level 4)))) and do (Actions)
Quote:
Loop - Actions
Lightning - Create a lightning effect Chain Lightning - Primary (Position of (Dying unit)) (Position of (Picked unit))
Set BloodRavenLigtning = (Last created lightning effect)
Wait 0.05 seconds
Unit - Kill (Picked unit)
Lightning - Destroy BloodRavenLigtning
Quote:
Wait 0.10 seconds
Quote:
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Quote:
If - Conditions
(Number of units in (Units within 1000.00 of (Position of (Dying unit)) matching ((Unit-type of (Matching unit)) Equal to Zombie (Level 4)))) Greater than or equal to 1
Quote:
Then - Actions
Trigger - Run (This trigger) (ignoring conditions)
Quote:
Else - Actions
Do nothing

I HAVE A QUESTION ABOUT THIS TRIGGER...
A HAVE MARKED BY UNDERLINE MY PROBLEM
UNDERLINED FUNCTIONS ARE NOT WORKING... BUT WHY ??? I AM GETTING CRAZY...
02-13-2008, 09:00 PM#2
Captain Griffen
Learn2post in a way people can read.

Use capitals like that again and you'll be on a quick road to a banning.

Oh, and your problem is using waits in loops, specifically for group loops. Don't.
02-13-2008, 09:53 PM#3
evolve2000
ok, thanks, i have solved my problem with using two triggers..