The En Framework is a free, open-source set of libraries and utilities used as a framework for the Linden Scripting Language and SLua in Second Life.
En is under active and ongoing development; many functions are undocumented and have not been fully tested. Do not use this framework in your projects until this message is removed! It is experimental and highly unstable!
SLua support is currently limited and untested until SLua is available on a Linux-compatible viewer.
CLICK HERE for the latest version of En (via GitHub).
You can also browse the repository directly - En is open-source!
En is not compiled; it is imported directly from your computer after downloading it from the repository and unpacking it. Follow the instructions here to set it up with your Second Life viewer.
For an overview of how En works, check out the following pages:
- En in LSL: outline of how En scripts are structured in LSL
- En Style: optional background reading on En's naming scheme
En consists of the following libraries:
- enAvatar: functions to read avatar properties (name, group, etc.)
- enDatetime: functions to manipulate dates and times
- enEnvironment: functions to manage the SL environment (sun, moon, sky, etc.)
- enFloat: various float-related functions
- enInteger: various integer-related functions
- enInventory: functions to manage object inventory
- enKey: various key-related functions
- enKVS: basic in-memory key-value store
- enList: various list-related functions
- enLNX: reference implementation of the GSI Linkset_data Namespace Extensions
- enLog: flexible logging functions
- enPrim: functions to manipulate object properties (link numbers, hovertext, UUID history, etc.)
- enRotation: various rotation-related functions
- enRPC: reference implementation of GSI Link_message Encapsulation Protocol, Chat/Listen Encapsulation Protocol, and Serialized Network Encapsulation Protocol
- enString: various string-related functions
- enTest: various testing functions
- enTimer: timer library with multiple concurrent one-shot and/or periodic timers
- enVector: various vector-related functions