Buff Condition

Killerphill

New Member
Reaction score
1
hi guys. im trying to make a trigger which basically gives an effect to every unit owned by player with a specific Buff!

if possible, i need it to be something like:

event: every 5 seconds of game time.
condition: pick every unit in unit group with buff
action: add 5 gold.


i cant find it anywhere in the conditions or actions, can someone please help?
 

WolfieeifloW

WEHZ Helper
Reaction score
372
Trigger:
  • Untitled Trigger 001
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in <YourGroup> and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff <YourBuff>) Equal to (==) True
            • Then - Actions
              • Player - Set (Picked player) Current gold to (((Picked player) Current gold) + 5)
            • Else - Actions
 
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