LSL
From Education
Helpful Resources
Personal Observations
- As stated here "States cannot have user functions or variables inside their immediate scope, only event definitions may be inside a states scope."
- In order to not make a mess of things, any object that is not permanent in some way (e.g. floating numbers, projectiles, prims that could potentially run away and get lost) should have "temporary_on_rez" set to true. Use llSetPrimitiveParams([PRIM_TEMP_ON_REZ, TRUE]) in either state_entry or on_rez to do this.