Blockland Forums > Suggestions & Requests

Paintcan color variable replacer

Pages: (1/1)

Gen. Hothauser:

I am requesting someone make a variable replacer for the current color of the player's paint can - an example is provided below.


--- Code: ---[Onactivate] [Self] [VCE_Modvariable] [Brick] [colorid] [Set] [<var:cl:paintcan>]

--- End code ---


MARBLE MAN:

pretty sure this is 1 line
like
registerSpecialVariable or something


registerSpecialVar(GameConnection,"paintcan","%this.currentColor");

Gen. Hothauser:

Thanks, it worked.

Is there a list on the forums of all of these functions, like currentcolor?

Zeblote:


--- Quote from: Gen. Hothauser on July 03, 2013, 10:06:45 AM ---Thanks, it worked.

Is there a list on the forums of all of these functions, like currentcolor?

--- End quote ---
findclientbyname("Gen. Hothauser").dump();

Gen. Hothauser:


--- Quote from: Zeblote on July 03, 2013, 10:16:30 AM ---findclientbyname("Gen. Hothauser").dump();

--- End quote ---

woh.

Thanks

Pages: (1/1)

Go to full version