Scripting/Exemples

De DigiWiki.

(Différences entre les versions)
(Exemple Script Library)
(Exemple Script Library)
Ligne 39 : Ligne 39 :
| [[Animation Basic]]  
| [[Animation Basic]]  
| CatherineOmega
| CatherineOmega
-
| quickly demonstrates the basics of animating an avatar.
+
| Quickly demonstrates the basics of animating an avatar.
 +
|-
 +
| [[Animation Script]]
 +
| XylorBaysklef
 +
| Animates an avatar.
 +
|-
 +
| [[Attachment Type Checker]]
 +
| CatherineOmega
 +
| Checks if an object is attached, and where it's attached.
 +
|-
 +
| [[Controls]]
 +
| ReadyJack
 +
| Demonstrates the use of llTakeControls.
 +
|-
 +
| [[Event Order]]
 +
| AngelaSalome
 +
| Says each event as it happens.
 +
|-
 +
| [[Get Root Position]]
 +
| XylorBaysklef
 +
| Get link parent position from within child.
 +
|-
 +
| [[Get Root Rotation]]
 +
| XylorBaysklef
 +
| Get link parent rotation from within child.
 +
|-
 +
| [[Gun]]
 +
| ReadyJack
 +
| A gun script that fires physical bullets.
 +
|-
 +
| [[Link Message]]
 +
| CatherineOmega
 +
| Communicate between prims.
 +
|-
 +
| [[List Conversion]]
 +
| ReadyJack
 +
| Convert lists to strings and back.
 +
|-
 +
| [[Safe List Conversion]]
 +
| KeknehvPsaltery
 +
| Converts lists to strings and back, with no possible errors.
 +
|-
 +
| [[Look At]]
 +
| JimBunderfeld
 +
| Looks at an agent.
 +
|-
 +
| [[Money]]
 +
| CatherineOmega
 +
| Waits for payment and refunds invalid amounts.
 +
|-
 +
| [[Number Conversion]]
 +
| EzharFairlight
 +
| Charset/number system conversion.
 +
|-
 +
| [[ParticleScript]]
 +
| AmaOmega
 +
| Creates particle effects.
 +
|-
 +
| [[ParticleScript1]]
 +
| EepQuirk
 +
| Creates particle effects (modified version).
 +
|-
 +
| [[Point Child At Target]]
 +
| CrossLament
 +
| Point a selected axis of a child prim at a region-coordinate target.
 +
|-
 +
| [[Proximity Door]]
 +
| JordanCotton
 +
| Controls access to an area.
 +
|-
 +
| [[Self Replication]]
 +
| StefanNilsson
 +
| Demonstrates self replication.
 +
|-
 +
| [[States]]
 +
| JimBunderfeld
 +
| Multiple states.
 +
|-
 +
| [[States Concise]]
 +
| ChromalBrodsky
 +
| 2-state script.
 +
|-
 +
| [[Argument Multiplexing]]
 +
| HughPerkins
 +
| Argument multiplexing, eg for linkmessages.
 +
|-
 +
| [[Left Or Right]]
 +
| TiPBaKeR
 +
| A function that returns whether one vector is to the left or right of another.
 +
|-
 +
| [[RPC to PHP]]
 +
| MarcEisenberg
 +
| Communicating with a PHP backend system.
 +
|-
 +
| [[Browser/Object RPC]]
 +
| SomeScripter
 +
| Browser sends RPC request to SecondLife object and gets and shows response.
 +
|-
 +
| [[ExampleHomeAlarmSystem]]
 +
| SomeScripter
 +
| How to write a home alarm system: monitor your SecondLife home from your browser in your FirstLife home, or on the go.
 +
|-
 +
| [[HUD Communication]]
 +
| YiffyYaffle
 +
| Allows a object only listen to your huds or you.
 +
|-
 +
| [[Fixed Precision]]
 +
| GigsTaggart
 +
| Truncate Floats to fixed precision.
 +
|-
 +
| [[32bit Hash]]
 +
| GigsTaggart
 +
| Hash keys or strings into a 32 bit integer.
 +
|-
 +
| [[Authenticated Chat]]
 +
| GigsTaggart
 +
| Hash keys or strings into a 32 bit integer.
 +
|-
 +
| [[Text to Leet]]
 +
| Jadz0rConover
 +
| Converts regular text into leet speak.
 +
|-
 +
| [[Text to Cap Alt]]
 +
| Jadz0rConover
 +
| Converts regular text into the capital alternation format.
 +
|-
 +
| [[ExamplellPushObject]]
 +
| JokerOpus
 +
| Throws an avatar in a specified direction.
 +
|-
 +
| [[Position on a Sphere]]
 +
| AsiraSakai
 +
| Calculates the position on a sphere.
 +
|-
 +
| [[Rotation to Vector/Angle]]
 +
| AsiraSakai
 +
| Converts a rotation to a vector and the angle the vector is rotated around.
 +
|-
 +
| [[Vector Gradient]]
 +
| TigroSpottystripesKatsu
 +
| Enables one to transition smoothly from one vector to another, specially good for colors.
 +
|-
 +
| [[ExampleSides]]
 +
| AnorcaCalamari
 +
| Numbers the sides of an object.
 +
|-
 +
| [[GetNewInventoryName]]
 +
| ZenMondo
 +
| Function that returns a list of names of items added to an object's inventory.
 +
|-
 +
| [[llVector2String]]
 +
| VinceBosen
 +
| Function that returns a string form of a vector.
 +
|-
 +
| [[Unix2DateTime]]
 +
| HeusDens
 +
| Function to convert Unix timestamp value to date/time value.
 +
|-
 +
| [[IsValidKeyFormat]]
 +
| HeusDens
 +
| Function to check wether a string is in a correct key format.
 +
|-
 +
| [[IsValidFloatFormat]]
 +
| HeusDens
 +
| Function to check wether a string is in a correct float format.
 +
|-
 +
| [[SL Mail]]
 +
| HeusDens
 +
| Script that allows you to sent and receive mail from within secondlife.
 +
|-
 +
| [[ResellModule]]
 +
| HeusDens
 +
| Full script that can be enhanced further to create a self-resellable item.
 +
|-
 +
| [[PHP Name2key]]
 +
| GreblakWhitfield
 +
| A php function that returns the key to a name.
 +
|-
 +
| [[Double Tap Detection]]
 +
| EyanaYohkoh
 +
| An example on how to detect double taps without using timers.
 +
|-
 +
| [[IsInteger]]
 +
| Dachs Hax
 +
| Determines if string data passed to it is an integer or not. Useful when parsing notecard configurations, etc...
 +
|-
 +
| [[AvatarInSim]]
 +
| SiRiSAsturias
 +
| Detect if an avatar is in the same sim or not.
 +
|-
 +
| [[MultiRound]]
 +
| SiRiSAsturias
 +
| This function allows for easy rounding up or down of integers using mulitples.
 +
|-
 +
| [[Tic Tac Toe]]
 +
| CoralGausman
 +
| A 6 step introduction to larger coding projects.
 +
|-
 +
| [[SLURL Builder]]
 +
| KamilahHauptmann
 +
| A function to return a usable SLURL.
 +
|-
 +
| [[llFibonacci]]
 +
| SpiritHomewood
 +
| A function to return a Fibonacci value.
 +
|-
 +
| [[llCenter]]
 +
| SpiritHomewood
 +
| A function to center a string to a specified width.
|-
|-
|}
|}

Version du 11 mars 2012 à 04:28

Véhicules


Particules


Coming Soon ...

Autres


Utils


Exemple Script Library

Name Creator Description
Animation Basic CatherineOmega Quickly demonstrates the basics of animating an avatar.
Animation Script XylorBaysklef Animates an avatar.
Attachment Type Checker CatherineOmega Checks if an object is attached, and where it's attached.
Controls ReadyJack Demonstrates the use of llTakeControls.
Event Order AngelaSalome Says each event as it happens.
Get Root Position XylorBaysklef Get link parent position from within child.
Get Root Rotation XylorBaysklef Get link parent rotation from within child.
Gun ReadyJack A gun script that fires physical bullets.
Link Message CatherineOmega Communicate between prims.
List Conversion ReadyJack Convert lists to strings and back.
Safe List Conversion KeknehvPsaltery Converts lists to strings and back, with no possible errors.
Look At JimBunderfeld Looks at an agent.
Money CatherineOmega Waits for payment and refunds invalid amounts.
Number Conversion EzharFairlight Charset/number system conversion.
ParticleScript AmaOmega Creates particle effects.
ParticleScript1 EepQuirk Creates particle effects (modified version).
Point Child At Target CrossLament Point a selected axis of a child prim at a region-coordinate target.
Proximity Door JordanCotton Controls access to an area.
Self Replication StefanNilsson Demonstrates self replication.
States JimBunderfeld Multiple states.
States Concise ChromalBrodsky 2-state script.
Argument Multiplexing HughPerkins Argument multiplexing, eg for linkmessages.
Left Or Right TiPBaKeR A function that returns whether one vector is to the left or right of another.
RPC to PHP MarcEisenberg Communicating with a PHP backend system.
Browser/Object RPC SomeScripter Browser sends RPC request to SecondLife object and gets and shows response.
ExampleHomeAlarmSystem SomeScripter How to write a home alarm system: monitor your SecondLife home from your browser in your FirstLife home, or on the go.
HUD Communication YiffyYaffle Allows a object only listen to your huds or you.
Fixed Precision GigsTaggart Truncate Floats to fixed precision.
32bit Hash GigsTaggart Hash keys or strings into a 32 bit integer.
Authenticated Chat GigsTaggart Hash keys or strings into a 32 bit integer.
Text to Leet Jadz0rConover Converts regular text into leet speak.
Text to Cap Alt Jadz0rConover Converts regular text into the capital alternation format.
ExamplellPushObject JokerOpus Throws an avatar in a specified direction.
Position on a Sphere AsiraSakai Calculates the position on a sphere.
Rotation to Vector/Angle AsiraSakai Converts a rotation to a vector and the angle the vector is rotated around.
Vector Gradient TigroSpottystripesKatsu Enables one to transition smoothly from one vector to another, specially good for colors.
ExampleSides AnorcaCalamari Numbers the sides of an object.
GetNewInventoryName ZenMondo Function that returns a list of names of items added to an object's inventory.
llVector2String VinceBosen Function that returns a string form of a vector.
Unix2DateTime HeusDens Function to convert Unix timestamp value to date/time value.
IsValidKeyFormat HeusDens Function to check wether a string is in a correct key format.
IsValidFloatFormat HeusDens Function to check wether a string is in a correct float format.
SL Mail HeusDens Script that allows you to sent and receive mail from within secondlife.
ResellModule HeusDens Full script that can be enhanced further to create a self-resellable item.
PHP Name2key GreblakWhitfield A php function that returns the key to a name.
Double Tap Detection EyanaYohkoh An example on how to detect double taps without using timers.
IsInteger Dachs Hax Determines if string data passed to it is an integer or not. Useful when parsing notecard configurations, etc...
AvatarInSim SiRiSAsturias Detect if an avatar is in the same sim or not.
MultiRound SiRiSAsturias This function allows for easy rounding up or down of integers using mulitples.
Tic Tac Toe CoralGausman A 6 step introduction to larger coding projects.
SLURL Builder KamilahHauptmann A function to return a usable SLURL.
llFibonacci SpiritHomewood A function to return a Fibonacci value.
llCenter SpiritHomewood A function to center a string to a specified width.
Outils personnels
donate
Google Ads