![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: Object speech if bug |
Luridii |
![]() I think I have found a bug in Q3 build 93. I have made an object: define object <bob> the numeric variable X is 1. Yet bob says 2. |
Tyrant |
![]() That darn Bob... always getting into mischief. |
Computer Whizz |
![]() Well, I think it should be something like this: speak { --CW |
Luridii |
![]() I'm sure i'm doing things right, It works in all the rest of my game, and it worked for all MSp1... |
Alex |
![]() Computer Whizz is right - if <%X%;1> then msg <1> else msg <2> - doesn't mean anything at all. Did you leave out the "is"? |
Luridii |
![]() in the .chm file that comes with Q3 it says if is, is the same as if... also that exact code is used elsewhere in my game (but not for an objects speech and it works there... |
Luridii |
![]() ...umm so maybe it doesn't work in that place and I put if is out of habit ![]() is <(something); (another thing)> returns a "true" if the two things are the same. This is equivalent to if (something = another thing), and is retained for compatibility. ...thats what confused me |
Luridii |
![]() Well anyway thanks Alex 4 correcting me, hopefully things will work now! |