Blockland Forums > Modification Help

Take off the _ from a name?

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

Pew446:

MOAR QUESTION!!

For some reason, I will use setName to change the name of a brick, but when I use an event, such as onactivate>namedbrick(Nameofbrickchanged)>disappear>5

It will do absolutely nothing. Is there something I need to refresh?

Kalphiter:


--- Quote from: Pew446 on August 04, 2010, 09:44:55 PM ---MOAR QUESTION!!

For some reason, I will use setName to change the name of a brick, but when I use an event, such as onactivate>namedbrick(Nameofbrickchanged)>disappear>5

It will do absolutely nothing. Is there something I need to refresh?

--- End quote ---
You'll have to mess around with the brick's brickgroup.

Pew446:


--- Quote from: Kalphiter on August 04, 2010, 09:45:37 PM ---You'll have to mess around with the brick's brickgroup.

--- End quote ---

Eh... I don't have any idea. :I

Truce:


--- Quote from: Kalphiter on August 04, 2010, 09:45:37 PM ---You'll have to mess around with the brick's brickgroup.

--- End quote ---

No. Don't try talking about things you know nothing about; it only confuses people.

Use this:


--- Code: ---if(%name $= "")
     %brick.setName("");
else
     %brick.setNTObjectName(%name);

--- End code ---


herb:


--- Quote from: Truce on August 04, 2010, 10:25:17 PM ---No. Don't try talking about things you know nothing about; it only confuses people.

--- End quote ---

 :cookieMonster:

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

Go to full version