Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripts not initializing

Ial Yatsenko
Registered User
Join date: 11 Feb 2008
Posts: 9
01-17-2009 17:35
So, I can create the new, default "Hello, Avatar!" script and put it in an object.

I wear the object.

I don't get the "Hello, Avatar!" message.

I click on the object, and I get nothing.

I take off the object, and suddenly it says "Hello, Avatar!" as it's detaching.

Scripts that I wrote last year, that were working fine, don't work in worn objects - but when I detach the object, it initializes (and then shuts down, as the object is no longer worn).

state_entry for 'default' never happens (and 'default' is the only state in the script).
on_rez never happens
attach(key id) never happens

however, they all trigger when the obejct detaches.

What am I doing wrong?
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-18-2009 00:27
Very strange. Any chance you could be on a no-script parcel? :confused:
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-18-2009 20:18
post your modified code?
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -