Blockland Forums > Suggestions & Requests
Saving Datablocks & OnBrickPLant
<< < (3/3)
Kygrob:

--- Quote from: Amade on June 05, 2009, 04:38:28 PM ---Because it's called a datablock.
And you save one by entering into the console:
--- Code: ---datablockname.save("folder/location/filename.cs");
--- End code ---

--- End quote ---
but i mean like somwthing like the saving items or variables saving thing for events
phflack:

--- Quote from: Kygrob on June 04, 2009, 11:17:15 PM ---
--- Quote from: Madmitten on June 04, 2009, 09:25:32 PM ---or maybe onplayerdeath

--- End quote ---
maybe good idea


--- End quote ---
we already have that with...

--- Quote from: phflack on June 04, 2009, 09:38:58 PM ---we have that already with variables
onactivate>self>firerelay
onactivate>player>setvariable[roar][5]
onrelay>self>ifvariable[player][roar][equals][5]
onvariabletrue>self>cancleevents
onvariabletrue>client>chatmessage[You have died!]
onvariabletrue>player>setvariable[roar][5](delayed 1 sec or so)
onvariabletrue>self>firerelay(delayed 1sec or so)
and that should work, i have the ondeath, just not starting it right at least, i need to test my theory with this

--- End quote ---
phflack:
oh, and you are aware that you can make it so that when you plant a brick, your score goes up
Kygrob:

--- Quote from: phflack on June 06, 2009, 10:01:12 PM ---oh, and you are aware that you can make it so that when you plant a brick, your score goes up

--- End quote ---
wat i mean by that, is like its an output events so it decreases a variable or something...
Navigation
Message Index
Previous page

Go to full version