Job and my Big Stack

Posted by Gophri on July 28, 2007, 5:58 p.m.

Well I have recently got a job. It is at Superstore. For those who do not know what superstore is, it is like Safeway. It is my first job.

I recently got the seventh Harry Potter Book, and I am reading the sixth to catch up so I have a lot of reading ahead of me. Then it occurred to me exactly how many books I'm reading. Ten in all, but half are just sequels of the first five. They are Harry Potter 6 and 7, The Chronicles of Narnia, A Series of Unfortunate Events 13, Lotr The Fellowship of the Ring, Lotr The Two Towers, Lotr The Return of the King, and The official Halo Books-The Fall of Reach, The Flood, and First Strike. Wow the stack is almost 2 feet high.

In gm terms i have been trying to work out a randomness controller for Gamel. Its not working for some reason can anybody figure out whats wrong? I am basically trying to make an instance appear at a random edge in the room (the xx yy part) or I am just creating it in the room. There is more than one object depending on how often i want that object to appear.

Sprite: <no sprite>

Solid: false

Visible: true

Depth: 0

Persistent: false

Parent: <no parent>

Mask: <same as sprite>

Create Event:

execute code:

var wall,xx,yy;

wall=choose("top","bottom","left","right")

if wall="top" {xx=random(room_width) yy=0}

if wall="bottom" {xx=random(room_width) yy=room_height}

if wall="left" {xx=0 yy=random(room_height)}

if wall="right" {xx=room_width yy=random(room_height)}

spaceran[0]="instance_create(32,32,obj_1)"

spaceran[1]="instance_create(32,32,obj_1)"

spaceran[2]="instance_create(32,32,obj_1)"

spaceran[3]="instance_create(32,32,obj_1)"

spaceran[4]="instance_create(32,32,obj_1)"

spaceran[5]="instance_create(xx,yy,obj_1)"

spaceran[6]="instance_create(xx,yy,obj_1)"

spaceran[7]="instance_create(xx,yy,obj_1)"

spaceran[8]="instance_create(xx,yy,obj_1)"

spaceran[9]="instance_create(xx,yy,obj_1)"

spaceran[10]="instance_create(xx,yy,obj_2)"

spaceran[11]="instance_create(random(room_width),random(room_height),obj_2)"

spaceran[12]="instance_create(random(room_width),random(room_height),obj_3)"

spaceran[13]="instance_create(random(room_width),random(room_height),obj_4)"

spaceran[14]="instance_create(xx,yy,obj_5)"

spaceran[15]="instance_create(32,32,obj_5)"

spaceran[16]="instance_create(xx,yy,obj_5)"

spaceran[17]="instance_create(32,32,obj_6)"

spaceran[18]="instance_create(32,32,obj_7)"

spaceran[19]="instance_create(32,32,obj_7)"

spaceran[20]="instance_create(32,32,obj_7)"

Other Event: Room Start:

execute code:

ran=ceil(19)

execute_string(spaceran[ran])

Thanks for the hit!

Comments

Kenon 17 years, 4 months ago

Change ran=ceil(19)

to ran=random(round(20))

JID 17 years, 4 months ago

{

if Video Games > Girls

you=idiot;

}

omicron1 17 years, 4 months ago

Oh? Narnia itself is seven books.

panzercretin 17 years, 4 months ago

Thanks for the hit? I didn't punch you!

Gophri 17 years, 4 months ago

Yeah I'm on the third Narnia book

poultry 17 years, 4 months ago

You are now 3/7th gay.

Shork 17 years, 4 months ago

Being gay is ok. I have a blog about gay marriage. Go see it. I need more hits.