Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSL changes in patch

Dimentox Travanti
DCS Coder
Join date: 10 Sep 2006
Posts: 228
11-29-2006 05:36
LSL changes:
* New script commands
** integer llGetObjectPrimCount(key id)
*** Returns the prim count for any specific object in a sim
** integer list llGetParcelPrimOwners(vector pos)
*** Returns a list of up to 100 agents who own objects in the parcel, and the number of objects they own
** integer llGetParcelMaxPrims(vector pos, integer sim_wide)
*** If sim_wide is TRUE, returns the total maximum number of prims allowed on the parcel
*** If sim_wide is FALSE, returns the maximum number of prims this individual parcel supports
** integer llGetParcelPrimCount(vector pos, integer category, bool sim_wide)
*** If sim_wide is TRUE, returns the number of objects on all parcels owned by the same owner in the category specified
*** If sim_wide is FALSE, returns the number of objects on this specific parcel in the category specified
*** Categories are:
**** PARCEL_COUNT_TOTAL: all prims on the parcel(s)
**** PARCEL_COUNT_OWNER: prims owned by the parcel owner
**** PARCEL_COUNT_GROUP: prims not owned by the parcel owner, but set to or owned by the group of the parcel
**** PARCEL_COUNT_OTHER: prims not in GROUP or OWNER
**** PARCEL_COUNT_TEMP: All temp on rez prims
**** PARCEL_COUNT_SELECTED: All selected or ridden prims
** list llGetParcelDetails(vector pos, list details)
*** Returns of a list of the details (PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA) in the order they are in the details list, for the parcel at pos
_____________________
LSL Scripting Database - http://lsl.dimentox.com
Dimentox Travanti
DCS Coder
Join date: 10 Sep 2006
Posts: 228
11-29-2006 05:38
Weee llGetParcelDetails

Will help... Now i can have DCS parcel Based instead of Region Based settings!
_____________________
LSL Scripting Database - http://lsl.dimentox.com
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-29-2006 05:51
*makes into readable form*

LSL changes:
  1. integer llGetObjectPrimCount(key id)
    1. Returns the prim count for any specific object in a sim

  2. integer list llGetParcelPrimOwners(vector pos)
    1. Returns a list of up to 100 agents who own objects in the parcel, and the number of objects they own

  3. integer llGetParcelMaxPrims(vector pos, integer sim_wide)
    1. If sim_wide is TRUE, returns the total maximum number of prims allowed on the parcel
    2. If sim_wide is FALSE, returns the maximum number of prims this individual parcel supports

  4. integer llGetParcelPrimCount(vector pos, integer category, bool sim_wide)
    1. If sim_wide is TRUE, returns the number of objects on all parcels owned by the same owner in the category specified
    2. If sim_wide is FALSE, returns the number of objects on this specific parcel in the category specified
    3. Categories are:
      1. PARCEL_COUNT_TOTAL: all prims on the parcel(s)
      2. PARCEL_COUNT_OWNER: prims owned by the parcel owner
      3. PARCEL_COUNT_GROUP: prims not owned by the parcel owner, but set to or owned by the group of the parcel
      4. PARCEL_COUNT_OTHER: prims not in GROUP or OWNER
      5. PARCEL_COUNT_TEMP: All temp on rez prims
      6. PARCEL_COUNT_SELECTED: All selected or ridden prims


  5. list llGetParcelDetails(vector pos, list details)
    1. Returns of a list of the details (PARCEL_DETAILS_NAME, _DESC, _OWNER, _GROUP, _AREA) in the order they are in the details list, for the parcel at pos

_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey