Blockland Forums > Help
console command for turning down name distance
(1/2) > >>
Cooperduper:
nickel is trying to turn down name distance but cant with a default minigame. does anyone know the console command?
Pecon:

--- Code: ---for(%i=0; %i<clientgroup.getcount(); %i++){clientgroup.getobject(%i).player.setShapenamedistance(25);}
--- End code ---
You can change the value in setShapeNameDistance to set it to different amounts. This effect only lasts on each player until they respawn.

For a more permanent change, do this.

--- Code: ---package permadistance{function gameconnection::spawnPlayer(%c){parent::spawnPlayer(%c); %c.player.setShapenameDistance(25);}};
--- End code ---
Zeblote:
...or just get slayer
Cooperduper:

--- Quote from: Pecon on May 19, 2013, 02:10:26 PM ---
--- Code: ---for(%i=0; %i<clientgroup.getcount(); %i++){clientgroup.getobject(%i).player.setShapenamedistance(25);}
--- End code ---
You can change the value in setShapeNameDistance to set it to different amounts. This effect only lasts on each player until they respawn.

For a more permanent change, do this.

--- Code: ---package permadistance{function gameconnection::spawnPlayer(%c){parent::spawnPlayer(%c); %c.player.setShapenameDistance(25);}};
--- End code ---

--- End quote ---
neither of these worked, nickel tells me it didn't do anything when he replaced the 25 with a 0
Headcrab Zombie:

--- Quote from: Cooperduper on May 19, 2013, 05:33:59 PM ---neither of these worked, nickel tells me it didn't do anything when he replaced the 25 with a 0

--- End quote ---
The setShapeNameDistance has a minimum value, I don't know what the value is however.
Meaning you can't completely hide the name by setting it to 0
Navigation
Message Index
Next page

Go to full version