- Joined
- May 1, 2008
- Messages
- 1,605
Seas =)
Hmm sorry I bet this will be a noob question, but if I run the following Trigger with "Run Trigger (Ignore Conditions)" Wc3 close itself when start the trigger and with no error massage or something like that...
I looked over the trigger - but where is the misstake - give me a tip PLZ! =D
Hmm sorry I bet this will be a noob question, but if I run the following Trigger with "Run Trigger (Ignore Conditions)" Wc3 close itself when start the trigger and with no error massage or something like that...
-
Freezing
- Events
- Conditions
-
Actions
- Set TempPoint1 = (Position of Lord of Icecrone 0003 <gen>)
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Random 1 units from (Units within 1350.00 of TempPoint1 matching (((Picked unit) belongs to an enemy of (Owner of Lord of Icecrone 0003 <gen>)) Equal to True))) and do (Actions)
-
Loop - Actions
- Set TempPoint2 = (Position of (Picked unit))
-
Loop - Actions
- Special Effect - Create a special effect at TempPoint2 using Abilities\Spells\Human\FlameStrike\FlameStrikeTarget.mdl
- Set SEffect[0] = (Last created special effect)
- Wait 2.00 seconds
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
- Set TempArray[(Integer A)] = (TempPoint2 offset by 250.00 towards (36.00 x (Real((Integer A)))) degrees)
- Special Effect - Create a special effect at TempArray[(Integer A)] using Abilities\Spells\Items\TomeOfRetraining\TomeOfRetrainingCaster.mdl
- Custom script: call RemoveLocation(udg_TempArray[GetForLoopIndexA()])
-
Loop - Actions
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 350.00 of TempPoint2 matching (((Picked unit) belongs to an enemy of (Owner of Lord of Icecrone 0003 <gen>)) Equal to True)) and do (Actions)
-
Loop - Actions
- Unit - Cause (Picked unit) to damage (Picked unit), dealing 1250.00 damage of attack type Spells and damage type Normal
-
Loop - Actions
- Special Effect - Destroy SEffect[0]
- Custom script: call RemoveLocation(udg_TempPoint1)
- Custom script: call RemoveLocation(udg_TempPoint2)
- Trigger - Turn off (This trigger)
I looked over the trigger - but where is the misstake - give me a tip PLZ! =D