Results 1 to 5 of 5
  1. #1
    MSgt. Shooter Person
    Join Date
    May 2010
    Location
    null
    Posts
    115

    Default Running console command with a string option.

    I know uiscene is now unsupported but I'm still making my stuff in flash right now i wanna make a placeholder ui. My question is how can I make the UIaction_consolecommand run with a string option. In my player controller I have a function that loads a character but it needs a string to go with it.

    exec function loadcharacter(String charactername) {

    Thats the name of the function. So how can I make it so it also runs with a string.

  2. #2
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,986

    Default

    ... that's how you do it.
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks

  3. #3
    MSgt. Shooter Person
    Join Date
    May 2010
    Location
    null
    Posts
    115

    Default

    No, i meant how can I use the uiaction_consolecommand with a string option. Like extend a new class file with a string var of charactername. I really dont know how to be clearer im sorry.

  4. #4
    MSgt. Shooter Person
    Join Date
    May 2010
    Location
    null
    Posts
    115

    Default

    I mean how can I execute my console function in uiscene with a string input option too.

    cause my function is: exec function loadcharacter(String charactername) {
    the console command would be: loadcharacter mycharacter
    so how would I do that it uiscene.

  5. #5
    Veteran
    Join Date
    May 2007
    Location
    Above KillZ, Below StallZ
    Posts
    9,986

    Default

    Use the Console Command kismet action, and put your command in it ... ??
    http://www.ericbla.de http://www.dungeondefenders.com http://en.wikipedia.org/wiki/Warm_Gun http://www.rekoil.com http://www.groundbranch.com

    - Please don't send me private messages asking programming questions, those would be better asked on the Programming forum here. Thanks


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.