• 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.

Cant Remove Leak

Status
Not open for further replies.
Level 9
Joined
May 27, 2012
Messages
116
  • Jutzu Remove Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • For each (Integer J_Use_Index) from 1 to J_Use_Index_Max, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • J_Use_Time[J_Use_Index] Greater than 0.00
            • Then - Actions
              • Set J_Use_Time[J_Use_Index] = (J_Use_Time[J_Use_Index] - 0.05)
            • Else - Actions
              • Unit - Remove J_Use_Ability[J_Use_Index] from J_Use_Unit[J_Use_Index]
              • Set J_Use_Ability[J_Use_Index] = J_Use_Ability[J_Use_Index_Max]
              • Set J_Use_Ability[J_Use_Index] = (Ability being cast)
              • Set J_Use_Time[J_Use_Index] = J_Use_Time[J_Use_Index_Max]
              • Set J_Use_Time[J_Use_Index_Max] = 0.00
              • Set J_Use_Unit[J_Use_Index] = J_Use_Unit[J_Use_Index_Max]
              • Set J_Use_Index = (J_Use_Index - 1)
              • Set J_Use_Index_Max = (J_Use_Index_Max - 1)
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • J_Use_Index_Max Equal to 0
                • Then - Actions
                  • Trigger - Turn off (This trigger)
                • Else - Actions
Thats simply it :)
Just wondering how to clean up the id :/
 
Status
Not open for further replies.
Top