Blockland Forums > Suggestions & Requests

Poisonous Air

Pages: << < (3/4) > >>

Chrono:

This would be more easily scripted than evented.

Titanium Man:


--- Quote from: Subpixel on April 22, 2013, 09:18:26 PM ---Are you handicapped?

--- End quote ---
the opposite adding damage is adding health

read the post correctly before insulting the user next time

halonerfer29:


--- Quote from: swollow on April 22, 2013, 07:35:33 PM ---I could make toxic gas area cubes
first tell me how much damage you want to it to do
and direct me towards the gas mask addon you want to use

--- End quote ---
Use gravity cat's gas mask.

LeetZero:



The only problem is that you need to press a brick to get the gasmask.



--- Code: ---Gasmask brick:

X 0ms onActivate Player VCE_ifVariable gasmask == 1
X 0ms onVariableTrue Player VCE_modVariable gasmask Set 0
X 0ms onVariableTrue Client ChatMessage You take the gas mask off.
X 0ms onVariableFalse Player VCE_modVariable gasmask Set 1
X 0ms onVariableFalse Client ChatMessage <color:00FF00>You put the gas mask on.

--- End code ---

--- Code: ---Toxic zone brick:

# Event Saver v0.1 - 04/23/13 12:18:52
X 33ms onPlayerEnterZone Self fireRelay
X 1000ms onRelay Self fireRelay
X 0ms onRelay Self VCE_ifVariable <var:br:toxic> != potato 3 3
X 0ms onVariableTrue Player VCE_ifVariable gasmask == 1 4 7
X 0ms onVariableTrue Client ChatMessage <color:FFFFFF>You are in a toxic zone, good thing you have the gas mask on.
X 0ms onVariableFalse Player AddHealth -5
X 0ms onVariableFalse Client ChatMessage You are in a toxic zone, put on a gas mask!
X 0ms onPlayerleaveZone Self cancelEvents

--- End code ---

If you want to turn toxicity on and off, change the br:toxic value to something else and make a brick to change that value off and on, so ti triggers Variable true (or so it doesn't).

Mr.Noßody:

Somebody, edit a zone brick to constantly hurt the player (perhaps 5 health lost per second) as long as they are in it.

It would be an easy edit.

Pages: << < (3/4) > >>

Go to full version