Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Need help with this gun script

Shayna Korobase
Registered User
Join date: 8 May 2007
Posts: 454
12-29-2007 10:18
I have a basic revolver gun script. I already set up the "draw gun";(F9 key) and "holster gun";(F10 key) phantom mode. What I need however is for the gun to shut off when holstered. My friend told me it's a command that needs to be in the gun script.
Elmore Philbin
www.philelmore.com
Join date: 12 May 2007
Posts: 73
08-06-2008 07:52
You could do this very simply with a script toggle. You put another script in the gun that sets the script status of the main gun script to FALSE or to TRUE depending on the command input. That turns the gun on and off.
_____________________
- Elmore Philbin (US +1.315.391.1626)