Trigger check

louis_9300

New Member
Reaction score
3
Code:
Seconds Bountry
    Events
        Time - Every 30.00 seconds of game time
    Conditions
        (Race of (Picked player)) Equal to Human
    Actions
        Player - Add 10 to Player 1 (Red) Current lumber
        Player - Add 10 to Player 2 (Blue) Current lumber
        Player - Add 10 to Player 3 (Teal) Current lumber
        Player - Add 10 to Player 4 (Purple) Current lumber
        Player - Add 10 to Player 5 (Yellow) Current lumber
        Player - Add 10 to Player 6 (Orange) Current lumber
        Player - Add 10 to Player 7 (Green) Current lumber
        Player - Add 10 to Player 8 (Pink) Current lumber
        Player - Add 10 to Player 9 (Gray) Current lumber
        Player - Add 10 to Player 10 (Light Blue) Current lumber

Is this trigger a fault trigger? can it work?
 

Exide

I am amazingly focused right now!
Reaction score
448
Remove the condition and it will work.

EDIT:
Also, you can use a loop to make the trigger shorter.
 

vypur85

Hibernate
Reaction score
803
Code:
Untitled Trigger 002
    Events
        Time - Every 30.00 seconds of game time
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Race of (Picked player)) Equal to Human
                    Then - Actions
                        Player - Add 10 to (Picked player) Current lumber
                    Else - Actions

I guess this is what you want. Your trigger does not have (Picked player). So it might not work. If you remove the condition part, it should work. THough, I've simplified it for you in the trigger above.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top