- Joined
- Apr 9, 2008
- Messages
- 45
I am currently making a escape maker style map but i am having problems with the jumpers.
My trigger is based on this trigger.
The problem is it starts lagging like all hell has broken lose when i place more then 50(just some number i made up, but defiantly below 100) of these units.
This is the trigger that makes the unit "jump".
Any help is welcome![Grin :grin: :grin:](/forums/images_all/smilies/gring.gif)
My trigger is based on this trigger.
The problem is it starts lagging like all hell has broken lose when i place more then 50(just some number i made up, but defiantly below 100) of these units.
This is the trigger that makes the unit "jump".
-
Red jumper
-
Events
-
Conditions
-
(Triggering unit) Equal to Escaper 0020 <gen>
-
-
Actions
-
Set Facing_Var = (Facing of (Triggering unit))
-
Set Escaper = (Triggering unit)
-
Unit - Add Crow Form to (Triggering unit)
-
Unit - Remove Crow Form from (Triggering unit)
-
Animation - Change (Triggering unit) flying height to 600.00 at 400.00
-
Trigger - Turn on Untitled Trigger 002 Copy <gen>
-
Wait 1.00 seconds
-
Animation - Change (Triggering unit) flying height to 0.00 at 400.00
-
Wait 1.00 seconds
-
Trigger - Turn off Untitled Trigger 002 Copy <gen>
-
-
-
test
-
Events
-
Conditions
-
Actions
-
Set Jumperunitgroup = (Units of type Jumper)
-
Unit Group - Pick every unit in Jumperunitgroup and do (Actions)
-
Loop - Actions
-
Set Jumper = (Picked unit)
-
Trigger - Add to Red jumper <gen> the event (Unit - A unit comes within 175.00 of (Picked unit))
-
-
-
Custom script: call DestroyGroup( udg_Jumperunitgroup )
-
-
-
Create stuff
-
Events
-
Unit - A unit Is issued an order targeting a point
-
-
Conditions
-
Actions
-
-------- Jumper --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Acolyte 0000 <gen> is selected by (Owner of (Triggering unit))) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Jumper for Player 1 (Red) at (Target point of issued order) facing Default building facing degrees
-
Trigger - Run test <gen> (checking conditions)
-
-
Else - Actions
-
-
-
Any help is welcome
![Grin :grin: :grin:](/forums/images_all/smilies/gring.gif)