Please or Register to create posts and topics.

How I can restart the level in-game with a trigger?

My question is that i want to restar the level when I push a trigger, for example. It's possible to do this? Thanks!

oscarcillo100 wrote:
It's possible to do this?

Yes, it is:

- Add a point_clientcommand entity in your map and name it ("command" for example).

- Add that trigger you mentioned where you want to and add the following output:

OnTrigger > command > Command > restart

Try and confirm if that worked.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
oscarcillo100 wrote:
It's possible to do this?

Yes, it is:

- Add a point_clientcommand entity in your map and name it ("command" for example).

- Add that trigger you mentioned where you want to and add the following output:

OnTrigger > command > Command > restart

Try and confirm if that worked.

Yes, it worked!! Perfect! Thanks!

You can also use "reload", which will go back to an autosave if there is one.

Falsi sumus crusto!