TableSearch bug, displays "hello world!" instead of row#
Simple Gamer Arts
Member, PRO Posts: 305
Hi,
So I'm using the "TableSearch" function correctly as far as I'm concerned, but it displays Hello World! instead of row#... glitch in the matrix?
Comments
I'm being very creative, finding other ways to search for "row#" that "contains" X number...
Such a shame GS's tableSearch is glitched...
One reason for "Hello World!" appearing is if you are using a row/column value that is out of the range of your table.
For example, using the following table:
And the following function in a Display Text behavior:
tableSearch( game.Table 1 ,"F","col",3,1,99,"exact")
The result is "Hello World!"
But by changing the 99 to 3 (the highest possible row value for the table above):
The result is "2"
So I would question whether the attribute values you are using are exceeding the range of your table (or becoming ≤ 0).
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks for that @tatiang
It's good to know the origin of an error message; will be looking out for that.