Multiple timers for same event shall not overwrite each other
My character is facing several explosions, whose destructive effects spread very fast and therefore lead to different, accumulating damages at the hero, each with a certain delay.
To do so, an exploding actor executes a character function, that looks like this:
That is, the prospective damages are registered by the character, because they may arise even long after the exploding actor is destroyed.
The corresponding event DelayedDamage can be found in the EventGraph of the character, because it uses a timer:
These events shall be different and occur to different time points (even identical time points are possible by harzard), but only the last event is actually used, the others are overwritten.
One possible but tortuous solution is: Make a list of pairs of delay time and damage amount, consider these pairs as timers and handle everything in the TickEvent of the hero.
asked Feb 13 '18 at 06:47 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here