Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Objects go physical with command on chat

Eric Stuart
Registered User
Join date: 5 Jul 2006
Posts: 203
03-10-2008 16:19
I work with the Second Life Championship Wrestling federation and we're trying to set up a decent breakable table that would break when a command was given on a chat channel (i.e. /5 tablebreak). I don't need to be able to reset it, just have it go physical on command. Any help? Thanks!
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-10-2008 17:41
You could build it as two objects (half a table each) and do llSetStatus(STATUS_PHYSICS, TRUE) on command.

EDIT: Oops! TRUE, not FALSE! Ack. Sorry about that. Corrected.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-10-2008 17:59
for even more fun, instead of on command, you could do it on collision.... or even test the collision for the group, so random people don't bump into it and smash it but your wrestlers do =)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Eric Stuart
Registered User
Join date: 5 Jul 2006
Posts: 203
03-10-2008 21:20
The only reason we cant do it on collision is because we'll have points where our wrestlers will be ontop of the tables, or they will "appear" to go through them, via animation, so we cant do that sadly. That's why we have to use voice command, which I'm perfectly fine with.