|
Homer Horwitz
Registered User
Join date: 20 Sep 2006
Posts: 2
|
10-15-2006 03:36
I just wrote a script that moves a HUD attachment to a predefined spot independend on which HUD attachment-point it is attached, and for that I defined some constants with the correct HUD attachment values (ATTACH_HUD_TOP, ATTACH_HUD_TOP_LEFT, ...). Saving it, I got some compiling errors, and after some tries I discovered the reason: Some of my self-defined ATTACH_HUD_* constants are defined in LSL already, without being documented in the LSL Wiki, and without recognized in the embedded script-editor (you won't find them in the drop-down list either).
These seem to be predefined: * ATTACH_HUD_TOP_LEFT * ATTACH_HUD_TOP_RIGHT * ATTACH_HUD_BOTTOM_LEFT * ATTACH_HUD_BOTTOM * ATTACH_HUD_BOTTOM_RIGHT
These are not: * ATTACH_HUD_TOP * ATTACH_HUD_CENTER * ATTACH_HUD_CENTER2
I wonder if the undefined ones just have other names, and whether the internal editor/the LSL Wiki will get an update concerning the predefined values?
Has anyone further information on this?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
10-15-2006 04:20
You can add them to the wiki yourself... that's what wikis are for.
|
|
Homer Horwitz
Registered User
Join date: 20 Sep 2006
Posts: 2
|
10-15-2006 04:28
Yes, of course. But I would like to do that after I know what I'm talking about. Preferably after a comment from one of the Lindens of the sort "Oh, right, we had no time to change the editor during all that mess during the last weeks. The defines are: ..." or something like that. 
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
10-15-2006 08:49
The wiki isn't maintained by the Lindens, it's maintained by the user base, it wasn't started by the Lindens, although if you dig back far enough chunks of it were drawn from the hopeless out of date scripting guide they used to distribute. Not sure when that was last updated, I *think* it was out of date when I joined back in 1.4.
Add the stuff you're sure about in the main sections, add the other bits as comments.
|