Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

the script guide

Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
08-10-2007 22:28
The "New Scripters Start Here FAQ" is great, but I wish the wiki included also had a list of all the commands along with the parameters passed. When working in a language, it's handy to have such a reference without having to open each function call page.
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
08-10-2007 22:32
I believe there is a list in that area...at least there was last time I checked.

There's also a list at http://www.lslwiki.net
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
08-11-2007 11:57
From: Kenn Nilsson
I believe there is a list in that area...at least there was last time I checked.

There's also a list at http://www.lslwiki.net


I'm not seeing it. The only one there is just a list of the functions. The parameters aren't listed on the function list page.
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
08-11-2007 12:33
The great thing about wikis is that if what is there is wrong or can be improved you can just go ahead and do it.
_____________________
http://slurl.com/secondlife/Together
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
08-11-2007 17:10
If you're using the in-world editor, just hover your mouse pointer ofver the library call, event or constant and it'll pop up a tooltip with all its parameters and a brif explanation.

So far as a reference list, I'm not aware of one in the format you're looking for.
Katryna Jie
Registered User
Join date: 24 Jun 2007
Posts: 187
08-11-2007 19:43
last time I looked at LSLWiki.. it was not very easy to navigate...

is there any easy-to-read compilations? or some kind of textbook like we used in uni? It's been years since I did any programming..
Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
08-12-2007 01:13
From: Jillian Callahan
If you're using the in-world editor, just hover your mouse pointer ofver the library call, event or constant and it'll pop up a tooltip with all its parameters and a brif explanation.

So far as a reference list, I'm not aware of one in the format you're looking for.


What I'm looking for is to be able to look up function calls quickly without having to explore 78 different calls that might do what I need.

It might not be as useful if the lsl writer had been a bit more consistent with functions.

For example, llSetLinkPrimitiveParams has no corresponding llGetLinkPrimitiveParams as the llSetPrimitiveParams call does. You have to *know* that to get the linked prim child position requires llGetLocalPos instead.

The whole language is filled with gotchas and tfbs. But then, so is the SL world itself.

I've been starting to build a list of my own of the commands. Here's the A's. Maybe I'll try to get it added to the wiki.

integer llAbs(integer val)
float llAcos(float val)
void llAddToLandBanList(key agent, float hours)
void llAddToLandPassList(key agent, float hours)
void llAdjustSoundVolume(float volume)
void llAllowInventoryDrop(integer add)
float llAngleBetween(rotation a, rotation b);
void llApplyImpulse(vector force, integer local)
void llApplyRotationalImpulse(vector force, integer local);
float llAsin(float val)
float llAtan2(float y, float x)
void llAttachToAvatar(integer attachment)
key llAvatarOnSitTarget()
rotation llAxes2Rot(vector fwd, vector left, vector up);
rotation llAxisAngle2Rot(vector axis, float angle);
Katryna Jie
Registered User
Join date: 24 Jun 2007
Posts: 187
08-12-2007 01:35
what I'm looking for is a bit of a better explanation of what they do, and the syntax~ and not with each one on a different webpage.. the office internet is SOOOOO slow
Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
08-12-2007 01:44
From: Katryna Jie
what I'm looking for is a bit of a better explanation of what they do, and the syntax~ and not with each one on a different webpage.. the office internet is SOOOOO slow


Well, the page I'm doing is only up to the C's right now. Feel free to examine in.

http://www.lslwiki.net/lslwiki/wakka.php?wakka=JothephNemeth

Dunno if the wiki owner will even want it linked from the homepage.

It sounds like what you want is more of a lsl in a nutshell book.

I wouldn't get too worried about learning it though. I bet the whole language is gonna be replaced after Havoc is live.
Jotheph Nemeth
Registered User
Join date: 9 Aug 2007
Posts: 142
08-12-2007 15:17
Just completed the wiki page I'd been working on.

Just function name and parameters, with no other detail.

http://www.lslwiki.net/lslwiki/wakka.php?wakka=functionsnutshell

Didn't take quite as long as I had feared.