Author Topic: Can I add something to my script so delete body parts? Also...  (Read 495 times)

I plan to make a weapon that will cover the whole arm and I think it might look weird if the arm is still visible. So is there a part I can add to my script or something that will make the players right arm and hand disappear while they are holding that weapon? Also is there a way to make it so the player doesn't move their arm when attacking and can continuously attack if they hold down the attack button?

%player.hideNode("nodename"); to hide it, nodenames are like, rarm, rhand, rhook. %player.unhidenode("nodename"); to unhide it.

I don't really know about the holding down thing, why don't you check other weapons, or look in like, say, the T+T pack?

Mm. Thanks, where should I put those code parts in a script? Or does it matter.

Mm. Thanks, where should I put those code parts in a script? Or doesn't it matter.?
Do you know anything about scripting in Torquescript?
Just a question..

Look at other mods that accomplish this.
You should hide the node upon mounting the weapon image, and unhide it upon unmounting.

Look at other mods that accomplish this.
You should hide the node upon mounting the weapon image, and unhide it upon unmounting.

Is it possible to hide a-
Nevermind.

Is it possible to hide a-
Nevermind.
Stare at code for a couple of minutes and it will hide inside you.
Yes, i am referring to what you wanted to say.