Page 1 of 1

My SHIFT+? is broken?!

Posted: Tue Jan 10, 2006 11:01 pm
by FYNDR
I am working on my (hopefully) awesome game, Myseri. During a part of it, the SHIFT+? thing is used to cast spells. However, when I tested the TURN spell (which changes all normals into empty spaces and all empty spaces into normals), it would not work. Puzzled, I tried using the code from $Pop, which uses an inventory system that involves using SHIFT+?, as a reference. It still did not work. Frantically, I tried playing $Pop to see the use of the inventory in action, and I learned that I couldn't access the inventory using SHIFT+? and then i! The bar that you can input things into comes up, and you can use such codes as torches, dark, gems, keys, etc., but using other variables (like TURN) does not work, for some reason. I've tried reinstalling ZZT onto my computer, and that didn't solve the problem. How do I fix it?

~FYNDR

Posted: Tue Jan 10, 2006 11:17 pm
by Dr. Dos
You have to type +i

or you're not looping, whatever object detects the flags needs to be in a continuous loop

@inventory
#cycle 1
:loop
#if i inventory
#loop
#end
:inventory
#clear i
INVENTORY

!1;hrrr rope
!2;hrrr rock
!3;hrrr other items in dizzy games

etc etc.

Posted: Wed Jan 11, 2006 2:51 am
by FYNDR
!!! the plus sign !!! How could I have forgotten? It was probably the irregular weather patterns that instilled such nubishness in me... yes, that's all... that's all...

(thanks, by the way)

~FYNDR