|
Ilmira Yesheyev
Registered User
Join date: 8 Dec 2006
Posts: 40
|
12-26-2007 08:57
From: Snowman Jiminy How about a plain English, step by step guide to LSL, with annotated working examples, that does not assume knowledge of another programming language? I would vote for that one.
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
12-26-2007 10:03
>> Tools to help us measure performance - like the top scripts for estate owners but on mainland parcels.
What he said.
|
|
hiro Voss
Registered User
Join date: 6 Oct 2006
Posts: 57
|
12-26-2007 11:58
From: Stephen Zenith For another, C# is like painting by numbers What? Have you used C#. I am hoping you are including Java in your list of non-real languages then. And all true OO languages at that. I guess real languages are perl, php and python, oh wait those are are scripting languages. I guess what you are saying is anything not from Microsoft. Ooo yeah, if it's from Microsoft it must suck, no need to actually try it, look at it, establish if it is what you think it is.
|
|
Day Oh
Registered User
Join date: 3 Feb 2007
Posts: 1,257
|
12-26-2007 16:14
1. Programmable, scalable vector graphics
|
|
Lee Ludd
Scripted doors & windows
Join date: 16 May 2005
Posts: 243
|
12-26-2007 17:07
An #include directive.
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
12-26-2007 17:08
From: Lee Ludd An #include directive. Actually, you know, yes, that would be something that I could actually see happening in some way, given how simple it is.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!
http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal
http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
|
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-26-2007 18:05
We have had the ability to do includes for a couple of years now by scripting in ESL and then sending it through the C prepocessor using Scite. Example: "rand_chan.esl" integer rand_chan;
random(){ rand_chan = (integer)llFrand(-1000000) - 1000000; }
example esl script with an include integer on = TRUE; vector pos; rotation rot; #include "rand_chan.esl" default { state_entry() { pos = llGetPos(); rot = ZERO_ROTATION / llGetRot(); llSitTarget(<0,0,0.01>,rot); } touch_start(integer total_number) { if(on) { llRezObject("sit sender",llGetPos() + <0,0,1>, ZERO_VECTOR, ZERO_ROTATION, rand_chan); llListen(rand_chan,"","",""); on = FALSE; } else { llSitTarget(new_pos, rot); llRemoveInventory(llGetScriptName()); } } listen }
Gives you this: integer on = TRUE; vector pos; rotation rot; integer rand_chan;
random(){ rand_chan = (integer)llFrand(-1000000) - 1000000; }
default { state_entry() { pos = llGetPos(); rot = ZERO_ROTATION / llGetRot(); llSitTarget(<0,0,0.01>,rot); } touch_start(integer total_number) { if(on) { llRezObject("sit sender",llGetPos() + <0,0,1>, ZERO_VECTOR, ZERO_ROTATION, rand_chan); llListen(rand_chan,"","",""); on = FALSE; } else { llSitTarget(new_pos, rot); llRemoveInventory(llGetScriptName()); } } listen }
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
12-27-2007 08:57
Lists of Lists. CAR CDR Lambda expressions  A Logo to SL VM compiler would be nice.
_____________________
So many monkeys, so little Shakespeare.
|