GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 2009-06-09 10:46:04

edy
Member
Registered: 2009-05-26
Posts: 8

Edy on random script and clock script

whistle
I need help with a script

random 20 objects 

example i will have gold if someone clicks on a treasure box
it would say either no gold or you found 10 gold pieces.
if they found 10 gold pieces they would be able to pick it up
and drop it into there money bag.
and the money bag would keep track of how much money is in there money bag.
if they buy something it would be subtracted out of the money bag
you have this left in the money bag.


plus the same way with food, like they found and apple
they could pick it up and drop it into there food bag.
and the food bag would keep track of how many apples are in the food bag.
if they eat one then the food bag would subtract it out of the food bag
you have this left in the food bag.

plus they have so many sips up to 3 sips of water
each sip would be subtracted from the canteen
you have this many sips left.
i sip is one good drink

plus   if they have a candle they would be able to light it,
and it will stay lite for  5 minutes.
after 5 minutes the candle will melt,
and they would have to get another candle and lite it.


plus set a clock every 20 minutes the room goes dark like night time

can a few people help me with this

From Edy
whistle

Offline

#2 2009-06-09 22:31:33

xot
Administrator
Registered: 2007-08-18
Posts: 1,240

Re: Edy on random script and clock script

I seriously doubt you are going to get any help here. And what you are asking for is not a script, but an inventory system. Do a search for 'inventory' in the Tutorials & Examples forum at GMC, there are several examples.


Abusing forum power since 1986.

Offline

#3 2009-06-10 10:32:45

edy
Member
Registered: 2009-05-26
Posts: 8

Re: Edy on random script and clock script

thank you i will find some one

Offline

Board footer

Powered by FluxBB