11.07.2015 Views

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

Linden Scripting Language Guide - Engineering Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

STATUS_BLOCK_GRABAppendix C. ConstantsControls whether the object can be grabbed. A grab is the default action when in third person, and isavailable as the ’hand’ tool in build mode. This is useful for physical objects that you don’t want otherpeople to be able to trivially disturb. The default if FALSESTATUS_SANDBOXControls whether the object can cross region boundaries and move more than 20 meters from its creationpoint. The default if FALSE.STATUS_DIE_AT_EDGEControls whether the object is returned to the owner’s inventory if it wanders off the edge of the world. It isuseful to set this status TRUE for things like bullets or rockets. The default is TRUEC.3. Object Type ConstantsThese constants can be combined using the binary ’|’ operator and are used in the llSensor and related calls.Object Type ConstantsAGENTObjects in world that are agents.ACTIVEObjects in world that are running a script or currently pysically moving.PASSIVEStatic in-world objects.SCRIPTEDScripted in-world objects.C.4. Permission ConstantsThe permission constants are used for passing values to llRequestPermissions, determing the value ofllGetPermissions, and explicitly passed to the run_time_permissions event. For many of the basic libraryfunctions to work, a specific permission must be enabled. The permission constants can be or’ed together to beused in conjunction.Permission ConstantsPERMISSION_DEBITIf this permission is enabled, the object can successfully call llGiveMoney to debit the owner’s account.PERMISSION_TAKE_CONTROLSIf this permission enabled, the object can successfully call the llTakeControls libray call.98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!