Corpse bones decay

Level 9
Joined
Apr 18, 2012
Messages
88
Is it possible to pause and then resume decay of bones of unit that died?
"Unit - Suspend corpse decay for (Picked unit)" this does work to pause it but then using "Unit - Resume corpse decay for (Picked unit)" has no effect
 

Attachments

  • decay.w3m
    18.2 KB · Views: 25
Level 9
Joined
Apr 18, 2012
Messages
88
it's just a template. Dead unit is picked picked by groups correctly.

  • Untitled Trigger 002
    • Events
      • Player - Player 1 (Red) types a chat message containing a as An exact match
    • Conditions
    • Actions
      • Set VariableSet Storage_Group = (Units in (Entire map) matching (((Matching unit) is dead) Equal to True))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in Storage_Group) Greater than 0
        • Then - Actions
          • Unit Group - Pick every unit in Storage_Group and do (Actions)
            • Loop - Actions
              • Unit - Suspend corpse decay for (Picked unit)
        • Else - Actions
      • Custom script: call DestroyGroup(udg_Storage_Group)
      • Wait 5.00 seconds
      • Set VariableSet Storage_Group = (Units in (Entire map) matching (((Matching unit) is dead) Equal to True))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in Storage_Group) Greater than 0
        • Then - Actions
          • Unit Group - Pick every unit in Storage_Group and do (Actions)
            • Loop - Actions
              • Unit - Resume corpse decay for (Picked unit)
        • Else - Actions
      • Custom script: call DestroyGroup(udg_Storage_Group)
 
Top