why isnt this respawn code working?


  • Posts: 1
i tried back, middle, and front, and none of them respawn my actor. i have 'always simulate' on.


  • *
  • Posts: 28

When you kill and actor you also stop any of it's timed actions. No actor is created after two seconds because the actor that was going to create it no longer exists. You will need to use scene behaviours somewhere.

If you want yo use this code you can just move the "do after two seconds" block to a custom event (Add Event, Advanced) in the scenes events and when the player is killed have it trigger this with a trigger in scene block (Behaviours, Triggers).

Hope this helps