String to command entry?

0 favourites
  • 1 posts
From the Asset Store
In this game you will command the character by voice command.
  • What I am trying to do is make a function that has multiple parameters depending on the options chosen."action_function",1,"string")"action_function",2,"string","string")"action_function",#,"string","string",....)
    You can easily make it a string that would have the same text, but then it stops being a command and is a string that doesn't execute. I am wondering if there is a way to make a string into a command entry. If not then that's okay.
    This is mostly a question for reference as I've already know of two work-arounds for the issue. One being a temp array/dictionary, and the other using only 1 "string" entry with tokens ("string1|string2|string3")
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)