Blockland Forums > Modification Help
Briefcase
<< < (4/7) > >>
alex dude:
Attempting to fix rest of issues now.
alex dude:
Another problem, if you have hook hands it will unhide the hand node, does anyone have a few lines of code to fix this?
Uxie:
Replace your Hand code with this.

--- Code: ---function YourItemImage::onMount(%this, %obj, %slot)
{
%obj.hidenode("RHand");
        %obj.hidenode("RHook");
%obj.hidenode("LHand");
%obj.hidenode("LHook");
}


function YourItemImage::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);
}
--- End code ---

Replace "YourItem" to whatever you set the Briefcase's code name to be.
RedGajin:
Bomb. This briefcase. Do it.
alex dude:

--- Quote from: RedGajin on December 31, 2010, 03:10:58 PM ---Bomb. This briefcase. Do it.

--- End quote ---
Done by someone else, Also thanks Uxie C:
Navigation
Message Index
Next page
Previous page

Go to full version