Author Topic: Head body parts.  (Read 1144 times)

What is the code for cloaking all body part things on your head besides your head?

What is the code for cloaking all body part things on your head besides your head?
Code: [Select]
{
%user.playthread(1,root);
if(%user.paraing)
{
return;
}

%user.mountimage(Para1image, 2);
%obj = %user;
%obj.hidenode(<BodyPart>);
%obj.hidenode(<BodyPart>);
}

You can add as many %obj.hidenode(<BodyPart>); as you need. And replace <BodyPart> with the body part.

I know that but I need to know the names of all the things on your head including the feather things.

I know that but I need to know the names of all the things on your head including the feather things.
Rarm
RHand
Larm
Lhand
Torso
LLeg
RLeg
Accent
Pack
SecondPack
Hip
Hat
I think thats all

for(%i=0;$head[%i]!$="";%i++){%player.hideNode($head[%i]);}
for(%i=0;$accent[%i]!$="";%i++){%player.hideNode($accent[%i]);}

for(%i=0;$head[%i]!$="";%i++){%player.hideNode($head[%i]);}
for(%i=0;$accent[%i]!$="";%i++){%player.hideNode($accent[%i]);}

But what is the list of their names, like what you would do here.
Code: [Select]
{
%user.playthread(1,root);
if(%user.paraing)
{
return;
}

%user.mountimage(Para1image, 2);
%obj = %user;
%obj.hidenode([b]<BodyPart>[/b]);
%obj.hidenode([b]<BodyPart>[/b]);
}

That is the list of names. That will hide every hat and accent. If you want the individual names for some reason, echo each $head/$accent variable.

headskin
helmet
visor
bicorn
flareHat
copHat
knitHat
scoutHat
pointyHat
plume
triplume
septplume

base/data/shapes/player/hat.txt
base/data/shapes/player/accent.txt

headskin
helmet
visor
bicorn
flareHat
copHat
knitHat
scoutHat
pointyHat
plume
triplume
septplume

base/data/shapes/player/hat.txt
base/data/shapes/player/accent.txt


...What is your business in this section?

Answering Heedicalking's question, perhaps?

Answering Heedicalking's question, perhaps?

Yes but the list that Amade produced would not help in pretty much any aspect of this script.

...I need to know the names of all the things on your head including the feather things.

Code: [Select]
%player.hidenode(getword($accentsAllowed[$hat[%client.hat]],%client.accent));
This will hide only the accent it needs to: the one the player has enabled.

And an example in case you aren't already doing it this way for the other body parts...

Code: [Select]
%player.hidenode($hat[%client.hat]);

Code: [Select]
%player.hidenode(getword($accentsAllowed[$hat[%client.hat]],%client.accent));
This will hide only the accent it needs to: the one the player has enabled.

And an example in case you aren't already doing it this way for the other body parts...

Code: [Select]
%player.hidenode($hat[%client.hat]);
I thought you died :O