Attach and appear / disappear to two different points on an avatar.
Animate that avatar when the item is visable and stop animating the avatar when the item is invisable.
The weapon needs to cause damage to another avatar when they are wearing a GLM meter.
The avatar needs to go into mouselook to use the weapon and the weapon needs to strike when someone left clicks.
So far, I have figured out the following:
How to get the item to appear and disappear using an alpha script(show /hide) that listesn for the words "draw lance and sheath lance".
How to animate the avatar but only at all times while it it attached ( I can not figure out how to get the animation to stop when it hears "sheath lance".
I have the animations I want to use, full perm. I have the damage script for GLM meters.
I want to give this weapon to everyone at an upcoming competetion for free so that the fighters are all using the same weapon.
*************** Some more details *****************
And thank you all for responding in the first place. I REALLY DO appreciate it, this is not easy and I am in way over my head.
The weapon is a lance and I would like it to act similar to the weapons available at Harbinger and Stormie. (Shameless plug for them! I love their stuff!)
So I bought a sword script, an alpha script, a damage script for the type of meter we will be using, an animation overide script and the animations I would like to use.
I built the lance/spear and made the parent prim the shaft. I made two copies, one that attaches to the spine of the avatar for when the lance is "Sheathed" and one that attaches to the right hand of the avatar for when the lance is "drawn."
So far, the item attached to the spine has an alpha script in it that makes the lance appear or disappear according to the chat command "draw lance" or "sheath lance" respectively. This item needs to tell the avatar to stand straight when the item is visable on the spine.
The item copy that attaches to the right hand also has an alpha script that causes the item to appear and disappear as well. This item also needs to animate the avatar to crouch when it is visable in the hand and stop animating when it is not visable. It also needs to allow the avatar to go into mouse-look and then allow the avatar to "strike" when the left mouse button is clicked.
My thoughts were...
Can I get each item to listen for the chat command "draw lance" and sheath lance" respectively so that the animation starts and stop as well??
And how? If it is some huge deal to get it to happen, then I need to have someone do it for me. Does that make sense? I'm using other peoples script and only barely know how to modify them...?
PS-SORRY IF YOU HAVE RESPONDED. I'M TRYING TO GET THIS POSTED IN THE RIGHT PLACE!!!

;