Random Variable with table tie-in?
![wdfarmer](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hey all!
I hope I'm posting this in the correct area... I have been working on moving my logic from inside the actors to a table - so I can tweak and test more efficiently... I jumped in, made a few extra columns to hold my data points, and wrote this to locate it...
random((tableCellValue(table,1,10),(tableCellValue(table,1,11))
After the change.... nothing is working with the random location spawn... Am I doing something wrong or does the random(min,max) function not support embedded table values?
Any help would be appreciated, Thanks in advance!
I hope I'm posting this in the correct area... I have been working on moving my logic from inside the actors to a table - so I can tweak and test more efficiently... I jumped in, made a few extra columns to hold my data points, and wrote this to locate it...
random((tableCellValue(table,1,10),(tableCellValue(table,1,11))
After the change.... nothing is working with the random location spawn... Am I doing something wrong or does the random(min,max) function not support embedded table values?
Any help would be appreciated, Thanks in advance!
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks Again!