Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Weird weapons problem

Gigs Taggart
The Invisible Hand
Join date: 12 Feb 2006
Posts: 406
03-22-2006 18:08
I've been having weapons problems since the update.

A particular shotgun associated with one of my games is not working quite right. It works fine the first time you get it and wear it, but if you detach then reattach it, it doesn't fire, it instead does the touch/grab thing in mouselook.

I put debug in the permissions code paths and it does go through there, getting permission to animate and take controls, even on the second attach.

Here's a particular weirdness that I completely can't explain though. I had the shotgun rezzed on the ground, I wore another gun, and fired it while I was standing near where the shotgun was rezzed on the ground. That shotgun on the ground started firing every time I fired the gun I was holding!

I think there's probably a LL bug somewhere here, combined with something weird in the script, but I'm stumped at this point.
Gigs Taggart
The Invisible Hand
Join date: 12 Feb 2006
Posts: 406
Doh
03-22-2006 19:01
I wasn't releasing controls properly!

Seems so obvious in hindsight I guess. Kinda strange that it doesn't keep them from wear to wear correctly, but will then use them on the ground, but oh well. :)