Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Satrio on August 15, 2013, 08:16:48 AM

Title: Changing a String variable to any type of variable name[SOLVED]
Post by: Satrio on August 15, 2013, 08:16:48 AM
Hi!
I have set up a system where I have a database entry which contains a string variable. I want to be able to use this string variable as the name of an Int variable, which I will later use in a Int compare node.

The goal is to be able to dynamically change the name of an Int variable for example in a compare node.

The name of the Int variable will be fetched from a String Variable in a SQlite database.

/s
Title: Re: Changing a String variable to any type of variable name
Post by: Satrio on August 15, 2013, 10:38:32 AM
Solved it in another way. Will have to build all my different cases as I go, utilizing a string switch to check the variable.. easier to debug!

/s