Mixed Strings and Numbers Bug?
I am setting up a bunch of HUD info in my project. I am using multiple counters to simply output the values of my Alterable Values on an active object. All is going well except with ONE Alterable Value. when I try to make an event that says "Set Counter = Alterable Value B", I received the error: "mixed strings and values", and the event refuses to be created.
This is not a string though. And I am using a Counter to output. All other Counters and Values interact fine on every other object and on all other Alterable Values other than this one particular one. This smells like a bug to me because of its randomness, but did I flip an invisible switch somewhere?
Thank you.
Re: Mixed Strings and Numbers Bug?
*bump*
anyone have any ideas?
Re: Mixed Strings and Numbers Bug?
Unless you've somehow called an alterable string "Alterable Value B" or the like, I'm not sure what could be causing it. Can you upload an example that demonstrates the problem?
Re: Mixed Strings and Numbers Bug?
Also make sure its not in quotation marks.
Re: Mixed Strings and Numbers Bug?
I have uploaded the file here:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=95426#Post95426
I really do think it's a bug, because I'm doing the same thing on many other objects and counters in the scene. Thanks!
Re: Mixed Strings and Numbers Bug?
Ah, I know - the value is called "Exp", which is the name of a function in the Special object (Exponential), and the expression editor tries to interpret it as that first. This situation has possibly already been fixed in 248, as one of the items on the fix list is better detection of when a value or string name conflicts with anything else.
Renaming the value is your only way around it, I think.
Re: Mixed Strings and Numbers Bug?
Oh, that makes sense. Glad it's not too hard of a fix. Thank you very much for the help!