Hello ,
I want to create a bullet which stops the time for an enemy, but I block on the timer, it is activated on all the enemies at the same time.
I saw that we could use timedelta to create a timer for each enemys but I don’t understand how to put it into practice.
I want to replace the timer on me picture
Thx for your help
To make it a bit easier for non-French speakers, it might be a good idea to do a screen shot with English language. You can switch it from the File menu/Langue/English, After screen shot just switch it back to Francais.
i have add the english picture
fitkoh
September 19, 2020, 7:29pm
4
If I understand correctly, I think you want the bullets to pause the enemies, but only 1 bullet pausing 1 enemy.
Maybe you can use an expression of object variable for each enemy to name your timers?
if bullet is in collision with enemy
Set enemy.Variable(ID) to Variable(ID)
+1 Variable(ID)
Reset the timer “timestop”+ToString(enemy.Variable(ID))
then use a loop to test each timer.