Blockland Forums > Modification Help

Can I add something to my script so delete body parts? Also...

Pages: (1/2) > >>

Sicarius:

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?

Placid:

%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?

Sicarius:

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

lordician:


--- Quote from: Sicarius on April 24, 2011, 03:51:53 PM ---Mm. Thanks, where should I put those code parts in a script? Or doesn't it matter.?

--- End quote ---
Do you know anything about scripting in Torquescript?
Just a question..

lilboarder32:

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

Pages: (1/2) > >>

Go to full version