• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Every 5 Integer

Status
Not open for further replies.
Level 4
Joined
Sep 9, 2004
Messages
112
Assuming integer X and Z are both variables..then like this..

  • Integer
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • IntegerX Equal to 5
        • Then - Actions
          • Set IntegerZ = (IntegerZ + 1)
          • Set IntegerX = 0
        • Else - Actions
          • Do nothing
Good luck :p
 
Status
Not open for further replies.
Top