Poll

Release

Needs more touching up
16 (44.4%)
Release it
13 (36.1%)
No
2 (5.6%)
ur fat lololo
5 (13.9%)

Total Members Voted: 36

Author Topic: Briefcase  (Read 3013 times)

Attempting to fix rest of issues now.

Another problem, if you have hook hands it will unhide the hand node, does anyone have a few lines of code to fix this?

Replace your Hand code with this.
Code: [Select]
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);
}

Replace "YourItem" to whatever you set the Briefcase's code name to be.

Bomb. This briefcase. Do it.

Bomb. This briefcase. Do it.
Done by someone else, Also thanks Uxie C:

When you equip the briefcase, it's fine for the first equip but if you press your tools button to unequip it and equip it again it's at the side and moves with the arm, is there a problem in the code causing this?



I modeled one too (first model :D)


Nice model you got there :)

Thanks :D

Heres the first version untill hydra told me to bevel it >.>


Anyway, back on topic;
When you equip the briefcase, it's fine for the first equip but if you press your tools button to unequip it and equip it again it's at the side and moves with the arm, is there a problem in the code causing this?

Don't die on me yet son D:

B needs to look like this:


B needs to look like this:


I'm working on a new B but i need to fix the current issues in the script aswell.

My code was perfectly fine.