Announcement

Collapse
No announcement yet.

End Level Trigger

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    End Level Trigger

    Hi,

    Can someone help me construct an End of Level trigger?
    I have added a trigger in game, added an 'End Game' node is kismet, connected the trigger in the 'Focus Actor' input, but that does not work.
    I knew that would not work, but I did not know what else to plug it into!

    I do not have a menu or next level; I just want it to end. e.g. exit out it, back into unreal.
    (I will add a menu later, and link it back to that)

    http://i150.photobucket.com/albums/s...ecords/end.jpg

    Thanks in advance.
    Will.

    #2
    If you just want it to quit the game entirely, you can hook up the trigger to a console command-node, which has a value of 'exit' or 'quit', without the quotation-marks.

    Comment


      #3
      Hi mate,
      Thanks fo rthe help.
      Still no joy, I think the 'exit' is in the wrong place?

      http://i150.photobucket.com/albums/s...cords/end2.jpg

      Comment


        #4
        No, exit is in the right place, but you have to make a Triggered-event, set your trigger in the map as its target, then hook the output from that event into the console command-action

        Comment


          #5
          Still no luck, the 2 triggers are from the in game trigger. (linked)

          http://i150.photobucket.com/albums/s...ords/end-1.jpg

          Thanks.
          Will.

          Comment


            #6
            Ah, I guess wasn't too clear before, try plugging your Trigger_0 ( which is currently the Target of the Console Command ), into the Instigator-bit of the Trigger_0 Touch-event

            Comment


              #7
              Nope, still no luck.

              Comment


                #8
                And if you plug in a Player-variable as the Target for the Console Command?

                Comment


                  #9
                  Nope, still no luck!

                  Comment


                    #10
                    If the console command is 'Exit', and the player variable is the target for the console command (not the trigger), it should work. Try creating it again to make sure you haven'

                    Comment


                      #11
                      Are you playing in PIE or through the PC, as it will not work in PIE, even if set up correctly.


                      Comment


                        #12
                        Worked, Thanks mate.

                        Comment


                          #13
                          No problem.

                          Comment

                          Working...
                          X