Announcement

Collapse
No announcement yet.

Is it possible to add custom commands to the console in game ?

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

    Is it possible to add custom commands to the console in game ?

    Just like when you type "Fly" it activates a function that makes you fly.
    I would like to make a command that will call a function that saves the game and will also receive a string so i will be able to save multiple saves with different names.
    Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

    #2
    Hi!

    You can create custom event, f.e. myCustomEvent in Level Blueprint and type in console "ce myCustomEvent".
    Or add it in C++ code
    https://wiki.unrealengine.com/Solus_C%2B%2B_Tutorials

    Comment


      #3
      Originally posted by svv3dUDN View Post
      Hi!

      You can create custom event, f.e. myCustomEvent in Level Blueprint and type in console "ce myCustomEvent".
      Or add it in C++ code
      https://wiki.unrealengine.com/Solus_C%2B%2B_Tutorials
      Thanks man this is awesome !
      Check out my game OldSchool Nightmare : http://www.indiedb.com/games/oldschool-nightmare

      Comment


        #4
        I'm having issues getting this working on a dedicated server. The client event is firing, but when I try to execute another event on the server to actually do the work, nothing happens.

        Comment

        Working...
        X