|
Steve Atlanta
Registered User
Join date: 28 May 2008
Posts: 32
|
12-04-2008 13:50
I have made a Fire extinguisher
It uses a script called "popgun" and I made the bullet invisible and non damaging
I used a little ball called "particles" at the end of the gun. It automatically shoots out white particles when the gun is fired. This gives the simulation of it being a fire extinguishers.
I altered the script to say "blow" when the gun is fired so that it puts out candle flames which have the script in them that puts them out when blow is said.
PROBLEM : When I unweild the fire extinguisher my avatar retains the appearance of holding the gun. I have to go to World and click on "Stop All Animations" to get it to stop.
Anyone know why my guy still appears to be holding the gun even after I "un-weild" it?
|
|
Atom Burma
Registered User
Join date: 30 May 2006
Posts: 685
|
12-04-2008 13:52
it's in the script, there is a reference to a pose, most likely a default one, you will need to buy or make a new pose or animation. I have yet to see a fire extinguisher pose, but Bits n Bobs is my fave shop for prefab anims.
|
|
Steve Atlanta
Registered User
Join date: 28 May 2008
Posts: 32
|
01-19-2009 13:47
I solved the problem!
It seems in my Fire Extinguisher I had inserted a script called Handgun which by itself would have worked fine and stopped its animation when I detached it.
However in the Fire Extinguisher I ahd attached to the front a little ball called "particlesss" which whould shoot out white particles whenever I shot the Fire Extinguisher thus simulating the propellant from a Fire Extinguisher. This also had its own script.
Now these two scripts "clashed" with each other as far as animations. One of them within the script had.......hold_rifle, and the other script had........hold_handgun
Now the animation that was more appropriate was "hold_handgun", so I cahnged all references to the animation in BOTH scripts to "hold_handgun"
THEN when I detached the Fire Extinguisher it stopped the hold handgun animation! Problem solved!
|