Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Help on collision

Starra Toshi
Registered User
Join date: 2 Apr 2008
Posts: 7
04-02-2008 15:59
Hi,
I have been trying to get collision working on a object with the following script. I have only rezzed a cube and throw the script in there.

default
{
collision_start(integer number)
{
llsay(0, "Hit";);
}
}

The say function is not getting triggered. Am I doing something wrong? Please help. Thanks.

~Starra Toshi
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
04-02-2008 16:13
Perhaps you should ask in the scripting forum. While SOME of the people who frequent the building forum here may know the answer (I don't), everyone over there would. Post appropriate topics in appropriate forums, and you get much better and faster answers.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
04-03-2008 08:55
That script will work fine

but it should be llSay not llsay case is important.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
04-03-2008 09:05
From: Starra Toshi
I have only rezzed a cube and throw the script in there.

I don't think you'll get collision events unless you also make the object physical...
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Annabelle Babii
Unholier than thou
Join date: 2 Jun 2007
Posts: 1,797
04-03-2008 10:11
From: Meade Paravane
I don't think you'll get collision events unless you also make the object physical...


Actually, you can. I do it all the time.
_____________________
Deep inside we're all the same - we're an amorphous fog clouod.