Author Topic: How to End a Campaing  (Read 4351 times)

khrusayder

  • Posts: 15
  • Maggot Crusher.
    • View Profile
How to End a Campaing
« 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.

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: How to End a Campaing
« Reply #1 on: September 15, 2014, 12:24:34 AM »
The end screen shows when you trigger the "GameEnd" script node.

khrusayder

  • Posts: 15
  • Maggot Crusher.
    • View Profile
Re: How to End a Campaing
« Reply #2 on: September 15, 2014, 02:11:32 AM »
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. 

MrJanCraft

  • Posts: 11
  • Creator of The Castle of Hell 0.5
    • View Profile
Re: How to End a Campaing
« Reply #3 on: September 25, 2014, 06:44:44 PM »
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
 

« Last Edit: September 25, 2014, 06:46:15 PM by MrJanCraft »