Staredit Network

Staredit Network -> UMS Assistance -> Trigger problem
Report, edit, etc...Posted by OriginalG. on 2004-09-22 at 19:35:50
I put a trigger as followed:
Condition:
Current player has suffered at least 1 death of ultralisk
Action:
Set Hit points for all any unit owned by foes at anywhere to 30%
Set shield points for all any unit owned by foes at anywhere to 30%
Preseve trigger

The problems I get are when its set to 30% and you do damage to the unit/units with 30% it losses the amount of damage you did but then goes back to 30%.
Also, it happens for newly build units after the ultralisk died. I just want it to happen for the once that are on the field at the time the specific ultralisk died and then again when the specific ultralisk dies again the once at that time go down to 30 also and so on.
Report, edit, etc...Posted by DT_Battlekruser on 2004-09-22 at 19:37:08
The preserve trigger makes it constantly set to 30% always as long as there is a death of Ultralisk.
Report, edit, etc...Posted by ShadowSnipe4 on 2004-09-22 at 19:38:27
I knoiw what the problem is, but not how to fix it ( that would require thinking). The problem is that you have preserve trigger on, oh I just thought of a possible solution, in the actions thingy add an action for set death count for current player to 0 Ultralisks, then preserve trigger, might work not sure.
Report, edit, etc...Posted by x BakaPeter x on 2004-09-22 at 19:39:20
the correct trigger is
Trigger
Description:
Trigger
Players:
¤ Players
Conditions:
¤ Player Suffers atleast 1 deaths of Ultralisk
Actions:
¤ Set all HP of by units to 30%
¤ Set shield points for all any unit owned by foes at anywhere to 30%
¤ Subract 1 deaths of ultralisk
¤ PreserveTrigger
Report, edit, etc...Posted by RexyRex on 2004-09-22 at 20:30:13
QUOTE(xbakapeterx @ Sep 22 2004, 03:39 PM)
the correct trigger is






Trigger
Description:
Trigger
Players:
¤ Players
Conditions:
¤ Player Suffers atleast 1 deaths of Ultralisk
Actions:
¤ Set all HP of by units to 30%
¤ Set shield points for all any unit owned by foes at anywhere to 30%
¤ Subract 1 deaths of ultralisk
¤ PreserveTrigger

[right][snapback]77422[/snapback][/right]

That should work perfectly.
Or use a kills instead of deaths but what Bakapeter said should work fine.
Report, edit, etc...Posted by Ninja)be( on 2004-09-25 at 16:16:36
take off the preserve trigger cause it says if uve suffered at least 1 death.. once u die its always at least 1 even if u die twice.. so take of preserve or just say if current player has suffered exactly 1 death i think
Next Page (1)