Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

SL scripting compiler down

Chaos Borkotron
Registered User
Join date: 14 Jun 2008
Posts: 110
05-19-2009 16:39
Is it me or is it impossible to turn on and off the glow and fullbright of a prim. i have now been trying this for 4 and a half hours and i just keep getting stinking Syntax Errors, it will NOT save, i have tried saving it and i just lose my changes if i close the window

it is REALLY doing my nut in.


default
{
state_entry()
{
PRIM_FULLBRIGHT TRUE (<1.0, 0.0, 0.0>, ALL_SIDES);
llSleep(0.1);
PRIM_FULLBRIGHT FALSE(<0.0, 0.0, 1.0>, ALL_SIDES);
llSleep(0.1);
llResetScript();
}
}
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-19-2009 16:44
You're missing something there. Try:

default
{
state_entry()
{
llSetPrimitiveParams([PRIM_FULLBRIGHT,ALL_SIDES,TRUE,PRIM_GLOW,ALL_SIDES,1.0]);
llSleep(0.1);
llSetPrimitiveParams([PRIM_FULLBRIGHT,ALL_SIDES,FALSE,PRIM_GLOW,ALL_SIDES,0.0]);
llSleep(0.1);
llResetScript();
}
}
Damien1 Thorne
Registered User
Join date: 26 Aug 2007
Posts: 4,877
05-19-2009 16:45
Don't you need to use that as part of llSetPrimitiveParms?
http://wiki.secondlife.com/wiki/LlSetPrimitiveParams
_____________________
As we fade into the darkness...
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-19-2009 16:49
A couple of notes:

The title of the thread is a little misleading. (OK, a LOT misleading :p )

Scripting issues are usually posted in the Scripting Tips forum. :)
Chaos Borkotron
Registered User
Join date: 14 Jun 2008
Posts: 110
05-19-2009 17:07
From: Talarus Luan
A couple of notes:

The title of the thread is a little misleading. (OK, a LOT misleading :p )

Scripting issues are usually posted in the Scripting Tips forum. :)



OK, i have it working, well sort of

I have to move the camera and the object around to get it 2 flash, the second i sort of step back, or leave it it kind of dies

someone said something about a timer but there is no LLTimer command so thats out of the window

anyone got any suggestions?
Aziza Thespian
Registered User
Join date: 14 Nov 2008
Posts: 9
05-19-2009 17:21
I'd hop over to the scripting forums.. they really know their stuff there.

You can also try the "College of Music and Scripting Science" group/school. They are a helpful bunch that will look at your script and offer tips and help
Rhaorth Antonelli
Registered User
Join date: 15 Apr 2006
Posts: 7,425
05-19-2009 17:37
From: Chaos Borkotron
OK, i have it working, well sort of

I have to move the camera and the object around to get it 2 flash, the second i sort of step back, or leave it it kind of dies

someone said something about a timer but there is no LLTimer command so thats out of the window

anyone got any suggestions?


you can easily make it flash

go to the scripting forums, I bet you will find a wealth of info there

funny how the op had errors in his script code and blamed it on the system....
_____________________
From: someone
Morpheus Linden: But then I change avs pretty often too, so often, I look nothing like my avatar. :)


They are taking away the forums... it could be worse, they could be taking away the forums AND Second Life...
Kenbro Utu
Registered User
Join date: 26 Sep 2006
Posts: 483
05-19-2009 18:03
Not to mention there is most definitely llSetTimerEvent in LSL.
RockAndRoll Michigan
Registered User
Join date: 23 Mar 2009
Posts: 589
05-19-2009 18:10
http://lslwiki.net is your friend

So are the members of Scripters of Second Life, and the scripting forums here in SL as well

--------------------

float seconds = 15.0;

default
{
state_entry()
{
llSetTimer(seconds);
}
}

timer()
{
// Do this when the timer event is triggered
}
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-20-2009 02:01
From: Rhaorth Antonelli
funny how the op had errors in his [logic] and blamed it on [SL]....

this has been Op's longtime MO ;)
_____________________
|
| . "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...
| -