Blockland Forums > Help

Eventing Help

Pages: << < (2/2)

Mack Attack:

Sorry for the double post

BTW the event "Add item" is an addon you must get from the forms. It is not a default addon.

Pouch:

Sorry, I am not new to Blockland at all.
But thanks anyways, that was really helpful.
I never knew that ray casting made the invisible brick unclickable.
Thankyou.

Pouch:


--- Quote from: Pouch on August 11, 2011, 09:42:31 PM ---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?

--- End quote ---
New question!
I want it so that when you click brick a, brick b lights up for a certain amount of time, then goes back to it's original color.
Example:
When you click the gas container, the fluid turns grey to show that you can't take anymore gas.
But after 5000 miliseconds, it turns back to its original color, and you can take more gas.
Help.

YourBuddyBill:


--- Quote from: Pouch on August 22, 2011, 06:47:15 PM ---New question!
I want it so that when you click brick a, brick b lights up for a certain amount of time, then goes back to it's original color.
Example:
When you click the gas container, the fluid turns grey to show that you can't take anymore gas.
But after 5000 miliseconds, it turns back to its original color, and you can take more gas.
Help.

--- End quote ---

Ok, name brick B, then put in the event:
onActivate - Named Brick (Brick B) - SetColorFx - Glow

and with a delay of 5000 the above line except setcolorfx none... Wait that might not be what you want but ill get back to you, i gtg now.

Gen. Hothauser:

The earlier thing with the weapon, using toggleeventenabled I find better to use.

Ok, the gas.

According to you description, I understood that you want to know how to change the color of bricks from black (gas) to clear (no gas).  Idk by what means you will be emptying the container, but my example will use two bricks; a large brick call Gascontainer, an a small one name Gasemptier.

Here is the chain of events on the Gasemptier

[/] 0 onactivate->named brick=Gascanister->setcolor->clear
[/] 5000 onactivate->named brick=Gascanister->set color->black

More can be done if you want it to be a liquid in a glass container.

And through all my years of BL, I have never changed the item spawn time from 4, I have never found a reason to.

Pages: << < (2/2)

Go to full version