destroy and reset

tysonwillstysonwills Member, PRO Posts: 24
I have an action that destroys the actor when occurring, but when the level is not completed i need to reset the actor back to its position again.
I am not using the reset level command so does the destroy command mean i cant replace the actor back again, or is there a way around this.

Comments

  • zweg25zweg25 Member Posts: 738
    If you don't want to reset the level you can just have another actor spawned back at the beginning after that actor is destroyed

    Hope that helps
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @tysonwills As @zweg25 suggested but also consider just using a Change Scene behaviour to the same scene, this will reset the scene automatically for you (providing you've not using any game attributes or saved any attributes that are reloaded at the beginning of the scene).

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • hiddevandijkhiddevandijk Member Posts: 17
    or if you just wan to move it back to its original position, either store its coordintes in two attributes or a table. You can them instantly move it back using the change attribute behaviors.
Sign In or Register to comment.