Deleted member 177737
D
Deleted member 177737
Hey,
As a system for my RPG systems pack that I've been working on for the past month or so I was thinking of creating a system that will "flow?" like this:
-Unit dies
-Unit is replaced with "body" unit (this part has been done by me)
-Wait 60 seconds
-Remove "Body" Units Corpse (I use a 2nd unit as the corpse for a searching system)
But I currently have no idea how to make this in a way where each individual unit that dies has its own individual timer that waits 60 seconds. The closest I've been able to make was a trigger that added every killed unit to a "DeadBody" group. After the first unit is killed it set off a timer which removed all bodies in the "DeadBody" group, but I realized that this could remove bodies before the player would have a chance to use the "Search" system on the "Dead Body".
So what I'm asking is does anyone know a way I could set each killed unit to its own individual timer which will remove the "Dead Body" unit after it expires?
(I need it to work for a minimum of 20 units at once)
I can do this myself but the way I would end up setting it up would require 20 timer variables and 20 triggers, one for each timer...
+rep & full credits for your help in creating the system
As a system for my RPG systems pack that I've been working on for the past month or so I was thinking of creating a system that will "flow?" like this:
-Unit dies
-Unit is replaced with "body" unit (this part has been done by me)
-Wait 60 seconds
-Remove "Body" Units Corpse (I use a 2nd unit as the corpse for a searching system)
But I currently have no idea how to make this in a way where each individual unit that dies has its own individual timer that waits 60 seconds. The closest I've been able to make was a trigger that added every killed unit to a "DeadBody" group. After the first unit is killed it set off a timer which removed all bodies in the "DeadBody" group, but I realized that this could remove bodies before the player would have a chance to use the "Search" system on the "Dead Body".
So what I'm asking is does anyone know a way I could set each killed unit to its own individual timer which will remove the "Dead Body" unit after it expires?
(I need it to work for a minimum of 20 units at once)
I can do this myself but the way I would end up setting it up would require 20 timer variables and 20 triggers, one for each timer...
+rep & full credits for your help in creating the system
Last edited by a moderator: