How I can restart the level in-game with a trigger?
Quote from oscarcillo100 on February 27, 2014, 4:39 pmMy question is that i want to restar the level when I push a trigger, for example. It's possible to do this? Thanks!
My question is that i want to restar the level when I push a trigger, for example. It's possible to do this? Thanks!

Quote from josepezdj on February 27, 2014, 4:47 pmoscarcillo100 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 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.
Quote from oscarcillo100 on February 27, 2014, 4:54 pmjosepezdj 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!
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!
Quote from FelixGriffin on February 27, 2014, 5:25 pmYou can also use "reload", which will go back to an autosave if there is one.
You can also use "reload", which will go back to an autosave if there is one.