Hello,
I'm trying to make a dart trap which activates when player is in it's line of sight (like in Terraria) and it spawns a dart every 3 seconds the player is in the LOS. However, when I move the player to the trap's line of sight, the trap spawns a LOT of darts in a row and it keeps spawning them until I get out of the LOS. I tried inserting time intervals in the action but it doesn't work.
The event looks like this: DartTrap - Has LineOfSight to Player > DartTrap - Spawn Dart on layer 1 (image point 1) > Wait 3 seconds
The 3 seconds action doesn't seem to work and the darts keep spawning.
Any tips appreciated,
Thanks