Results 1 to 5 of 5

Thread: Running console command with a string option.

  1. #1

    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
    ... that's how you do it.

  3. #3
    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
    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
    Use the Console Command kismet action, and put your command in it ... ??

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts