Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

a dumb newbie needs scripting help

andre Spaight
will work for food
Join date: 4 Aug 2004
Posts: 23
08-21-2004 22:40
ok i got three scripts i want badly

1. basic script for a car

2. basic script for a weapon

3.basic script to have the touch option

PLEASE DONT IGNORE
Goshua Lament
Registered User
Join date: 25 Dec 2003
Posts: 703
Re: a dumb newbie needs scripting help
08-21-2004 23:31
From: someone
Originally posted by andre Spaight
ok i got three scripts i want badly

1. basic script for a car

2. basic script for a weapon

3.basic script to have the touch option

PLEASE DONT IGNORE


1. There are several free scripts in world. Search the forums or look on the wiki.

2. Take the script from the linden made revolver at the shooting gallery in Ahern. A good base for a gun.

3. llSetTouchText should be used.
_____________________
Flickr Second Life Photo Gallery

I no longer regularly login to SecondLife, but please contact me if an issue arises that needs my attention.
Archanox Underthorn
Registered User
Join date: 20 May 2003
Posts: 168
08-22-2004 01:23
for #3:

CODE

default
{
touch_start(integer total_number)
{
//Do Something
}
}


Every new script you make comes with this already added.
andre Spaight
will work for food
Join date: 4 Aug 2004
Posts: 23
08-22-2004 01:36
so when it says "Do Something" in ur code, i put what i want my object to do when u press touch
Aaron Levy
Medicated Lately?
Join date: 3 Jun 2004
Posts: 2,147
08-22-2004 01:51
From: someone
Originally posted by andre Spaight
so when it says "Do Something" in ur code, i put what i want my object to do when u press touch


Yep. :)