Blockland Forums > Help
Eventing Help
(1/2) > >>
Pouch:
Okay, so here is what I want to do.
I want to put a time limit on spawned items, say you spawn a certain item, you can only
get in once, then you have to wait x minutes.
Can someone help me with this?
Mack Attack:
Hey Pouch, what you need to do is when you hit something with a wrench, the first screen that pops up has the item you want to spawn. Under that is bar that named "item respawn time" with the number 4 in it (4 seconds being the defalt), you need to change that number to 120 if you want 2 minets.

EG: i want to have a Gun spawn 3 min after someone picks it up.
Set the item to Gun
Set the item respawn time to 180
click send

Thats all there is to it

BTW, first post =)
Pouch:
Oh god I am stupid. Thanks. Lockdown initiated.
Pouch:
One more question, how do I do that with events, like so.
Say I click a brick and it gives me x item.
How do I make it so when I click again, it doesn't give it to me, and I have to wait x times?
Mack Attack:
I am assuming that you are new to Blockland, do you know how to use events?
Don't worry, I have faith in you so i will tell you anyways. this is what that would look like

Delay:0>On Activate>player>add item>Gun           This event gives the player you item
Delay:0>On Activate>set ray casting [OFF]             This event makes it so the player cant click on the brick again (Ray casting)
Delay:5000>On Activate>set ray casting [ON]        This event makes it so after 5000 milliseconds, the player can click it again

That should do it =) let me know if you need more help.
Navigation
Message Index
Next page

Go to full version