How Do You Link Objects?

NOTE: I HATE A LOT OF YOUR ZZT GAMES, SO WATCH OUT!

Moderators: Commodore, Zenith Nadir

446
What can be said now?
Posts: 0
Joined: Sun Oct 12, 2003 5:07 pm

How Do You Link Objects?

Post by 446 »

I've got a row of people when I shoot one I want the others to run around randomly and shoot randomly. How do I do it?

Yay! I got rid of all the spare capitals and the whan:)!
Last edited by 446 on Tue Oct 14, 2003 9:07 am, edited 1 time in total.
User avatar
Mooseka
;-*
Posts: 282
Joined: Mon Sep 22, 2003 5:01 pm

Post by Mooseka »

@PERSON GETTING SHOT
#END
:SHOT
#SEND OTHERPERSON:OW

Would be the basic command for the person getting shot. Then you would have an object run in random directions and..well, shoot in random directions, and all the other objects would #bind to that object.
Image
User avatar
Zenith Nadir
this is my hammer
Posts: 2767
Joined: Wed Mar 12, 2003 11:40 am
Location: between the black and white spiders

Post by Zenith Nadir »

Hey, Here's A Tip; Capitalising Every Word You Type Is Really Annoying And I Recommend You Quit It Because It Makes Things Harder To Read. Just Some Friendly Advice!
he looked upon the world and saw it was still depraved :fvkk:

Overall: Rotton egg for breakfast
66
What can be said now?
Posts: 0
Joined: Fri Mar 14, 2003 8:20 pm

Post by 66 »

I guess the full program code bould be better ;)

Code: Select all

@people
#cycle 4
:loop
/rnd
#loop
:shot
#zap ow
#send people:ow
#ow
:ow
#zap shot
#cycle 1
:loop2
/rnd
/rnd
/rnd
#shoot seek
#loop2
:ow
:shot
#die
446
What can be said now?
Posts: 0
Joined: Sun Oct 12, 2003 5:07 pm

Post by 446 »

It works! :)
53
What can be said now?
Posts: 0
Joined: Tue Mar 11, 2003 6:14 pm

Post by 53 »

Yay :missile:
446
What can be said now?
Posts: 0
Joined: Sun Oct 12, 2003 5:07 pm

Post by 446 »

(Com)Buster posted A program code, but i don't want the people to move until I shoot one. How do I program that?
User avatar
Mooseka
;-*
Posts: 282
Joined: Mon Sep 22, 2003 5:01 pm

Post by Mooseka »

Code: Select all

@people
#cycle 4
#END
:Shot
#zap shot
#send all:loop
:loop
/rnd
#loop
:shot
#zap ow
#send people:ow
#ow
:ow
#zap shot
#cycle 1
:loop2
/rnd
/rnd
/rnd
#shoot seek
#loop2
:ow
:shot
#die
OR MAYBE I'M JUST BEING RETARDED.
Image
446
What can be said now?
Posts: 0
Joined: Sun Oct 12, 2003 5:07 pm

Post by 446 »

I've done it now! I added three #ends, and changed #die into #become red fake.
446
What can be said now?
Posts: 0
Joined: Sun Oct 12, 2003 5:07 pm

Post by 446 »

ZZT.
Last edited by 446 on Wed Oct 15, 2003 7:46 pm, edited 1 time in total.
User avatar
Mooseka
;-*
Posts: 282
Joined: Mon Sep 22, 2003 5:01 pm

Post by Mooseka »

No, he means SHUT THE FUCK- ok, I'm not going to be mean, because I'm an admin and you're new. There are three kinds of typing here!

Like this. (NORMAL)
ALL CAPS (Pretty much Moose and Clecky)
lol furry (Nadir)

Typing Like This Will Result In Extreme Pain
Image
User avatar
Zenith Nadir
this is my hammer
Posts: 2767
Joined: Wed Mar 12, 2003 11:40 am
Location: between the black and white spiders

Post by Zenith Nadir »

moose i'm going to destroy you

lowercase is UNIQUE because unique people type in lowercase
he looked upon the world and saw it was still depraved :fvkk:

Overall: Rotton egg for breakfast
User avatar
Mooseka
;-*
Posts: 282
Joined: Mon Sep 22, 2003 5:01 pm

Post by Mooseka »

furry people type in lowercase

go fuck some foxes on yiffnet
Image
454
What can be said now?
Posts: 0
Joined: Thu Oct 16, 2003 1:46 pm

Post by 454 »

he he he, foxes.
User avatar
Mooseka
;-*
Posts: 282
Joined: Mon Sep 22, 2003 5:01 pm

Post by Mooseka »

Image

scorch go sit on the homo bench with your friends
Image
Post Reply