Axe Software Forums
  Quest Developer Forum
  Library status variables


Author Topic:   Library status variables
Luridii posted 01-08-2001 11:11 GMT     
In a library i have various status variables to be added to my game. The game adds the library file, but the status variables dont show up!!
What's more, the status variables that were already in my game, and not loading from the library don't show up either!
Luridii posted 01-08-2001 11:17 GMT          
Hang on I just managed to get the status variables 2 show (I did something wrong - suprise) but my in-game variables (which showed before I added the library still don't show...
Computer Whizz posted 01-08-2001 11:24 GMT          
I had a similar problem, but my variables just go bonkers. Switching type, switching value. Disappearing all together!!

I'm going to start coding them as set string/numeric <> in the startscript!

--CW

Luridii posted 01-08-2001 17:18 GMT          
lol, i might hav 2 do that 2...
Luridii posted 01-08-2001 17:24 GMT          
...and while i'm @ it the old and the new wait commands (|w and wait) both cause an internal error 5 in my version of q3b2a...
Tyrant posted 01-08-2001 18:08 GMT          
Luridii, do you have the newest version of Quest? I had the exact same problem, and I THINK Alex had fixed the wait problem in a new Quest 3.0 build if you haven't downloaded it recently. So far, I haven't encountered any recent wait problems.
Luridii posted 01-08-2001 18:21 GMT          
Oh gawd what is the latest version of Quest???

Umm i have Q3 beta 2A (3.0.86)

Luridii posted 01-08-2001 19:28 GMT          
Nope i just downloaded Q3 B2 and it still happens
Computer Whizz posted 01-08-2001 23:43 GMT          
No. The newer build is linked somewhere in this forum...... it's build 94 or something like that!

--CW

Luridii posted 02-08-2001 07:40 GMT          
Ok you ppl, stop playing Quest games, and instead play hunt the slipper for the hyperlink!!!
Computer Whizz posted 02-08-2001 09:34 GMT          
right..... go down to "runtime error 5", it's one of my topics! Now there is a link to Quest 3.0 build 93.

--CW

Russell posted 02-08-2001 16:34 GMT          
Alex, Just rename me "The Village Idiot" for this forum... Ok, I've made sure that I have Quest 3.0 build 93 loaded. I also have Quest Pro 1.02 loaded. But in help in Quest 1.02 it says that it generates ASL 217 for Quest 2.17 or later... Now I have read talk about ASL 284, 285, and 300 in previous posts. Am I missing something? Just whack me on the back of the head and point me in the right direction please. I still haven't figured out the timer thingie. Tyrant, could you send me your short asl? Thanks. PS Maybe I shouldn't admit it but I am also from the US of A. :)
Luridii posted 02-08-2001 18:29 GMT          
Thanks CW ;)
Luridii posted 02-08-2001 20:59 GMT          
...ok i've defined all my status variables in the game instead of the library as it was not letting me change values. My existing money collectable is acting like a nozero display as it only shows when you have a value 1 or more in it...but the nozero command isn't in there!!!!
Computer Whizz posted 02-08-2001 21:33 GMT          
You might need to put:
display <Money !>
to get it to show properly! I'm not sure about anything else... NOTE: The ! in the brackets is so it displays the number.

I'll tell you something that got on my nerves.... When I !Included the libraries with the variables, then they all showed in the variables part of Quest, even though only one of them had display <> in it's code.... and they ALL had the same thing! Your HP is 50
Your HP is 'Fred'
Your HP is 9
Your HP is 0
Your HP is 0
Your HP is 0
Your HP is 20
IT'S GOD DAMN ANNOYING!!!!
I think there's a slight bug in the library loading part of Quest...... but it shall be omitted from my libraries!

--CW

Luridii posted 03-08-2001 09:18 GMT          
lol!

Heres my code, I already told it how 2 display:

define variable <money>
type numeric
value <0>
display <Money = ! astral*s*>
end define

your hp is fred, thats funny!!!!