trigger not working

MissKerrigan

Active Member
Reaction score
23
Hello,

Does anyone know why this trigger is not working?

Creep Value
Events
Unit - Any Unit dies
Local Variables
Conditions
((Triggering unit) has Creep) == True
Actions
Player - Modify player 1 Minerals: Add 1
Text Tag - Create a text tag with the text "+1" for (All players), using a font size of 20, at (Position of (Triggering unit)) and height offset 1.0, initially Visible, and fog of war enforcement set to False
Text Tag - Set Text color(s) for (Last created text tag) to (92%, 71%, 0%)
Text Tag - Set the velocity of (Last created text tag) to 0.5 coordinates per second at an angle of 90.0 degrees from horizontal
General - Wait 1.0 Game Time seconds
Text Tag - Destroy (Last created text tag)

Marloes


(I pressed COPY AS TEXT and paste it here)
 

Siretu

Starcraft 2 Editor Moderator
Reaction score
293
When you copy it as text the next time, write [noparse]
Trigger:
  • [/noparse] before it and [noparse]
[/noparse] after it. This will make it look nice and formatted.

Instead of just saying: "this trigger is not working", tell us what's happening. Is nothing happening at all? The player gets no minerals? Nothing? In that case, your creep most likely doesn't have the behavior.

Is the text tag never removed? It could be that the "(Last created text tag)" stops working after the wait. What you should do instead of the wait + destroy text tag is to use the "Set Time Of Text Tag" action and set the duration of 1.
 

MissKerrigan

Active Member
Reaction score
23
the weird thing is this:

a wave of 10 creeps are coming, but only about 5 units giving minerals while I'm sure they ALL have the behavior 'creep'

so the player get's 5x minerals and not 10, and the text tag is also missing, it's just weird

(I'm doubting giving up my map)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top