Author Topic: Hand hiding  (Read 911 times)

Glider, this is for you, since I can't PM.

Code: [Select]
function <richards>Image::onMount(%this, %obj, %slot)
{
  %obj.hideNode(lhand);
  %obj.hideNode(lhook);
     %obj.hideNode(rhand);
  %obj.hideNode(rhook);
<stuff>

}

function <richards>Image::onUnMount(%this, %obj, %slot)
{
  %obj.unhideNode(lhand);
%obj.unhideNode(rhand);
<stuff>
}

Damn, I though you were Deathwishez.

Damn, I though you were Deathwishez.
I thought he was some cigarette named Monty. Yea, Deathwish, beware of this cigarette named Monty.

I thought he was some cigarette named Monty. Yea, Deathwish, beware of this cigarette named Monty.

Hahahahahaha!

If you have the hook hands and use that they will turn into normal hands possibly the wrong colour for no reason.


Code: [Select]
function <Name>Image::onMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.hideNode("RHand");
%obj.hideNode("LHand");
%obj.hideNode("RHook");
%obj.hideNode("LHook");
}

function <Name>Image::onUnMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.unHideNode("ALL");
if(isObject(%obj.client))
{
%obj.client.applyBodyParts();
%obj.client.applyBodyColors();
}
else
applyDefaultCharacterPrefs(%obj);
}

Code: [Select]
function <Name>Image::onMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.hideNode("RHand");
%obj.hideNode("LHand");
%obj.hideNode("RHook");
%obj.hideNode("LHook");
}

function <Name>Image::onUnMount(%this,%obj,%slot)
{
Parent::onMount(%this,%obj,%slot);
%obj.unHideNode("ALL");
if(isObject(%obj.client))
{
%obj.client.applyBodyParts();
%obj.client.applyBodyColors();
}
else
applyDefaultCharacterPrefs(%obj);
}

Fixed the richards thing that death had writenn o-o