Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script pausing unexpectedly in collision

Brett Bjornson
Registered User
Join date: 8 Nov 2005
Posts: 25
02-03-2007 08:10
I have this snippet of code:

collision(integer total_number)
{
agent = llDetectedKey(0);
llPushObject(agent, 1.0*llRot2Fwd(llGetRot()), ZERO_VECTOR, FALSE); //Move the avatar forward a bit.


But llPushObect won't start until you move your avatar with your arrow keys. Then the rest of the script kicks in. It seems the collision is not being detected, even though the avatar is standing on top of the object the script is running from.

Any suggestions on how to stop this pause?
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
02-03-2007 13:16
Try collision_start rather than just plain collision.