My question is that i want to restar the level when I push a trigger, for example. It's possible to do this? Thanks!
How I can restart the level in-game with a trigger?
Posted Feb 27, 2014
Registered users don't see ads! Register now!
Posted Feb 27, 2014
Replied
8 minutes
later
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.
Posted Feb 27, 2014
Replied
7 minutes
later
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!
Registered users don't see ads! Register now!
Posted Feb 27, 2014
Replied
30 minutes
later
You can also use "reload", which will go back to an autosave if there is one.