Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting Help :)

LaZy Hulka
Registered User
Join date: 11 Apr 2006
Posts: 32
11-29-2006 19:55
Hallo Everyone

I'm trying too make this script too work so if someone wants to change the speed of the bullet they can. I want it to be voice command like I have showing do there. I just don't know how to make it so it will change the speed numbers. How would I go about doing this?

Thanks for reading my post. Also thanks for helping me :)

CODE

float speed = ;


default
{
on_rez(integer n)
{
llResetScript();
}

state_entry()
{
llListen(0,"",llGetOwner(),"");
llListen(25,"",llGetOwner(),"");
}
listen( integer channel, string name, key id, string message )
{
if( message == "" )
{

}
}
}
_____________________
USMC Time to kick ass and take names later. Show No Mercy

Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
11-29-2006 23:53
speed = (float)message;

http://lslwiki.com/lslwiki/wakka.php?wakka=Typecast