Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

A script that makes me drop dead when someone says a certain word?

Amie Kaestner
Registered User
Join date: 11 Sep 2008
Posts: 10
08-16-2009 06:10
Hello, I was wondering if anyone knows of a store that would sell something like this. I was given one ages ago but I've forgotton how to use it as it came with no instructions.

I miss using it; it was a lot of fun.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
08-16-2009 06:23
There's a full perm "super collider" floating around that makes you fall dead when someone bumps you. It shouldn't be hard to modify.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Amie Kaestner
Registered User
Join date: 11 Sep 2008
Posts: 10
08-20-2009 06:54
Thanks! I'm not very good at scripting though. :(
Steven Broderick
Scripter / Builder
Join date: 14 Sep 2008
Posts: 20
Try This.
08-20-2009 07:42
Place this text in a prim with 1 animation to 'drop dead'. It should work...[[NOTE I HAVE NOT TESTED THIS]]

From: someone

string anim_name = "";
default
{
on_rez(integer start_param)
{
llResetScript();
}
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer permissions)
{
if(permissions & PERMISSION_TRIGGER_ANIMATION)
{
state Running;
}
}
}
state Running
{
on_rez(integer start_param)
{
llResetScript();
}
state_entry()
{
//find the animation name.
integer i = llGetInventoryNumber(INVENTORY_ANIMATION);
if(i > 0)
{
anim_name = llGetInventoryName(INVENTORY_ANIMATION,0);
}
llListen(0,"","","";);
}
listen(integer channel, string name, key id, string message)
{
if(message == "Die" || message == "die" || message == "DIE";)
{
llStartAnimation(anim_name);
}
}
}