how do I.......
Moderator: zamros
how do I.......
how do I make a menu in my game where you have to type in something like shift ?+i to view it while you're playing?
#cycle 1
/i#if not i #restart
#clear i
$Menu
Heya, Joe! Whaddaya wanna do?
!hammer;Use the hammer
!gun;Use the gun
!music;Jam to an awesome ZZM
#restart
:hammer
$Hammer
You killed yourself.
#endgame
#end
:gun
$Gun
You killed yourself.
#endgame
#end
:music
#play ohiwishiwasanoscarmeyerweiner
$Music
You killed yourself.
#endgame
#end
Press ?+i and enter to activate this menu.
/i#if not i #restart
#clear i
$Menu
Heya, Joe! Whaddaya wanna do?
!hammer;Use the hammer
!gun;Use the gun
!music;Jam to an awesome ZZM
#restart
:hammer
$Hammer
You killed yourself.
#endgame
#end
:gun
$Gun
You killed yourself.
#endgame
#end
:music
#play ohiwishiwasanoscarmeyerweiner
$Music
You killed yourself.
#endgame
#end
Press ?+i and enter to activate this menu.
Here is a beter example:
Code: Select all
@GlobalInventory
#cycle 1
/i#if i ok
#restart
:ok
#clear i
!info;Info
=Items=
#if item1 !i1;Rock
#if item2 !i2;Card
#if item3 !i3;Radeo
/i#restart
:i1
#all:use1
#restart
:i2
#all:use2
#restart
:i3
Wat chanel?
!ch0;0
!ch1;1
!ch2;2
!ch3;3
!ch4;4
!ch5;5
/i#restart
:ch0
#all:use3ch0
#restart
:ch0
#all:use3ch0
#restart
:ch1
#all:use3ch1
#restart
:ch2
#all:use3ch2
#restart
:ch3
#all:use3ch3
#restart
:ch4
#all:use3ch4
#restart
:ch5
#all:use3ch5
#restart
Code: Select all
@Slot
#end
:touch
This is a slot!
#end
:use2
#if not contact end
The card fits into the slot!
#clear item2
#change red solid green fake
#end
Code: Select all
@Transmiter
#end
:use3ch4
OK, well I think I herd the dor open.
You beter lock them inside here! Remember,
the code to lock the dor is 4622. OK, I will
do that. Thanks for leting me no about it.
#dor:closed
#zap use3ch4
#end
- superbowl shuffle
- Official Clamp School Defender
- Posts: 418
- Joined: Mon Apr 07, 2003 4:52 am
- Location: CAsE SenSiTiVe
- Dr. Dos
- OH YES! USE VINE WHIP! <3
- Posts: 1772
- Joined: Tue Mar 11, 2003 12:00 am
- Location: Washington
buhh buhh i'm zandor12
Visit the Museum of ZZT
Follow Worlds of ZZT on Twitter
Apologies for the old post you may have just read.
Follow Worlds of ZZT on Twitter
Apologies for the old post you may have just read.
-
- LOOK OUT FER BAAAD BOB
- Posts: 116
- Joined: Fri Mar 28, 2003 12:51 am
- Zenith Nadir
- this is my hammer
- Posts: 2767
- Joined: Wed Mar 12, 2003 11:40 am
- Location: between the black and white spiders
-
- LOOK OUT FER BAAAD BOB
- Posts: 116
- Joined: Fri Mar 28, 2003 12:51 am
- superbowl shuffle
- Official Clamp School Defender
- Posts: 418
- Joined: Mon Apr 07, 2003 4:52 am
- Location: CAsE SenSiTiVe