Hammerwatch Forum
Custom mapping and Mods => Editor Discussion => Topic started by: khrusayder on September 14, 2014, 11:14:24 PM
-
hello guys, im created a tiny campaing with the editor but i dont know how to trigger the end of this one.
I talking about arrive to the exit and show the stadistics/score/time screen.
My apologies for my bad english and thanks in advance.
-
The end screen shows when you trigger the "GameEnd" script node.
-
Yeah, but when put on the map that script nothing happend. Maybe need be linked with another trigger but i dont know what is. I'll appreciate the help anyway friend :)
Can anyone tell me what i need to do step-by-step please? thank very much in advance.
-
I can help you You go to you last place where game will end:
Like a path or Bridge or something else.
You only need a RectangleShape,Game End,PlaySound and a Area Trigger
I attached a Screen for you.
If you want to end the game with a lose you type in the end Game Script e.lose
if you want that the guys win when the activate the trigger you write e.win :)
Hope i can helped you