Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

'Control' from multiple attachments...

Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
04-03-2007 13:25
I'm brainstorming a few things for a new script, and before I get too far into my brainstorming and start counting on one thing or another that I'm not totally sure will work...

...if two scripted attachments do NOT have conflicting llTakeControls() commands (they each take completely separate controls)...is it possible to have more than one attachment that takes controls from an avatar without deleting the 1st attachment's take controls?

Example

Script 1:
llTakeControls(CONTROL_DOWN)

Script 2:
llTakeControls(CONTROL_ML_BUTTON)

...would Script 2 override Script 1...or would they work in conjunction with each other, since the controls taken do not overlap?
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
04-03-2007 18:06
I've not formally tested it, but yes, I'm 99% certain you can.

I have, at times worn several things that take controls at once, and as long as they're unambiguous they all seem to work. If there is ambiguity, all of them fire at once as I recall.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
04-04-2007 08:12
Yes, you can.
_____________________
http://slurl.com/secondlife/Together