Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

248 results for “J”

wolfCall commands

Names you give to wolfCall or wolfCallAsync.

STATE is "intention|awake or asleep|alive or dead|health/max". INTENT is what it is doing, EVENTS its running events, CFG all its settings as JSON.

Flashes prims of the script's own object between two colours, and puts their own colours back when it ends. Each colour shows 0.5 to 60 seconds (default 1); it lasts up to 3600 seconds (default 10; 0 = until stopped, at most an hour); face is ALL_SIDES (the default) or a face number. See "Flashing an object" below.

wolfCall("object.flash.stop", [] or [link]) Wolf command your own object

Stops the flash on those prims ([] = the whole object) and puts their own colours back.

The next hours, one row an hour (24 by default; the list holds up to 31 hours, JSON up to 48).

The Caribbean only. Puts this ship or shore cannon into battle mode (class, e.g. "frigate_pallas" or "shore_cannon"; an unknown class is refused with the list of known ones), takes it out (it goes off after 60 seconds; firing, or "on" again, cancels that) or reads its state. At most 12 ships and 8 shore cannons in battle mode on the region, and 2 ships and 4 cannons of any one owner. Not for a worn object.

The Caribbean only. One gun fired by its crew. The gunner's key must be sitting on the object; elevation and traverse are held to that gun's limits.

The Caribbean only. A resident's booty (the object's owner when no key is given); rank 0 = not on the board yet. Gold doubloons are game treasure, not WT$ or Wolf Credits. wolfCallAsync only; an object may ask once every 10 seconds, and answers are kept a minute.

The Caribbean only. The Top Pirates (default: the top 10 this season; a season is a calendar quarter). Four fields a pirate after the first three. The same board as wolf-grid.com/top-pirates. wolfCallAsync only, once every 10 seconds an object, kept a minute.

Puts this aircraft into dogfight mode (any region with wolf-air): only aircraft in dogfight mode can fire on each other or be hit; nobody else is ever touched. "custom" is for ANY aircraft: her hit boxes come from her own size; the nose axis is 0 = +X, 1 = -X, 2 = +Y, 3 = -Y of her root; the guns are muzzle positions in her root's frame with a type mg, hmg or cannon (empty: two machine guns in the nose; at most 8). Same era only (1) means she fights only aircraft of her own era; modern jets default to 1, every other era to 0, and the practice drones fight any era. While she fights, call ["carry"] every few seconds; after CHANGED_REGION, ["resume", token] keeps her damage and ammunition in the next region (the same object, within 20 seconds). Off takes 30 seconds and firing cancels it. 16 aircraft a region, 3 an owner. State is off, on, switching_off:seconds, down or wreck:seconds. Engines (the 16th value) is filled only for an aircraft with more than one engine, for example "eng=1/0.6/0/1;fire=0/0/0/1;bottle=1/1/0/1;feather=0/1/0/0": each engine's power 0-1, whether it is on fire, whether its extinguisher bottle is still there (1) or used (0), and whether it is feathered. Power is then the mean of her engines, and fire is 1 for an engine fire too. A single-engine aircraft leaves it empty (llParseString2List drops it). An airliner (the classes concorde and b747_400) is refused with "an airliner is unarmed: she never joins a dogfight": she is never in a fight, so rounds and bombs pass through her.

Guns: a burst from that group. Hold the trigger by calling it 4 times a second with 0.25 seconds each (at most 4 a second). A gun jams at 100 % heat and clears at 40 %: fire short bursts. Missile (infra-red) or radar: one missile from her pylons, only with a lock - a target in dogfight mode within the seeker's cone ahead of her nose and the missile's reach; one launch a second, at most 4 of hers in flight. Flare or chaff: a salvo of decoys; flares pull infra-red missiles off her, chaff radar ones, with a chance that a newer seeker lowers. Count: what she has left (no pilot needed); bombs left is the 6th value, 0 for an aircraft that carries none. The pilot must be sitting in her; in an aircraft with crew positions (a bomber) her own guns, missiles and decoys are the pilot's alone, from the pilot's (root) seat. Refused in safe airspace near an airport, or with nothing left to fire.

A burst from one of a bomber's gun turrets, in dogfight mode. Only the gunner sitting on that turret's seat prim can fire it. The turret turns at its own rate from its last aim, inside its arcs, so the answer says where it really points. The burst rules are the guns': hold the trigger by calling it 4 times a second with 0.25 seconds each, and each firer has their own budget. The interrupter stops a gun that would hit her own airframe, and when it stops them all the call is refused with the part in the way. Refused in safe airspace, out of ammunition or jammed.

A bomber's bomb doors and bombs. The bomb aimer or the pilot works the doors; they take 4 seconds to open and will not open above her limiting speed. Only the bomb aimer, on their seat prim, releases the bombs (the pilot, in an aircraft the pilot aims, such as the Mosquito); "all" drops everything she can drop now (wing bombs, and the bay's once the doors are open), spaced along her track. At most 16 of one aircraft's bombs and 64 on the region fall at once. A bomb that lands near a range target (an object whose root description is "wolfair:range Name 50", put out by the region owner or a manager) scores, and the aimer and the pilot are told in chat, for example "Bomb 3: 18 m short and 4 m left of Target A - 60 points". Practice: with dogfight mode off, one of our bombers (her linkset data wolfair_class names a class with bombs, and her linkset has its prims) may still open her doors, drop and count her bombs. These are practice bombs: they fall, explode and score exactly as live ones but harm nobody, and she stays out of every fight. In dogfight mode the same bombs damage any aircraft in dogfight mode within their blast. Bombs come back on the ground with the guns' rearm rule, and at respawn. Refused in safe airspace.

wolfCall("air.bailout", [pilot, parachute key or ""]) Wolf command a script in the aircraft

The pilot jumps: stood up and seated on the parachute (an object the aircraft rezzed, described wolfair:parachute, owned by her owner, within 20 m), or just stood up. She is then down: a kill for whoever hit her in the last minute.

wolfCall("air.safe", []) Wolf command any script

Whether this object is in safe airspace: 800 m round each of the region's airports, up to 300 m above the ground, and any wolfair:safe|radius|height marker the region owner or a manager has put out. Nobody can fire or be hit there.

The region's bombing range. Scores: today's best 20 runs (the day is UTC), best first; a run scores its best bomb plus the mean of all its bombs. Rings round a target: 10 m 100 points, 25 m 60, 50 m 30, 100 m 10, 300 m 1. Targets: the range markers wolf-air reads every minute (at most 32), each an object whose ROOT description is exactly "wolfair:range" or "wolfair:range Name radius", put out by the region owner or a manager. The radius is only reported; scoring always uses the rings.

Makes this object the engine of your train and sets it off along the guide prims (objects named exactly "Guide"; their red arrow, +X, points along the line). A guide whose description has "station" in it is a station: the train stops for 30 seconds, and waits on while anyone is standing beside it (at most 3 minutes). A guide described "stop" ends its run. Speed up to 30 m/s. The sizes are measured from the engine itself if you leave them out; "announce", TRUE makes it say the station lines. Called again in a running engine it changes the speed and carries on. (wolf-rail 1.3) "cab" says where its cab is - at its own front (+X) end, its rear, both (the default) or none. "turnback", TRUE is for a train with a cab at each end: with nobody driving it, at the stop guide of a platform (a guide described "platform name" further back on the same line) it waits as at a station, changes ends and goes back out the way it came.

This object joins your train: it is kept "gap" metres (0-10) behind the vehicle in front of it, on the very line the engine ran - in whatever region it is, so it never loses the train at a border. Vehicles line up in the order they join, or by "order". When the engine is in another region use wolfCallAsync. A vehicle that joins a standing train is put straight onto its place. (wolf-rail 1.3) Rez it the way it should look: one rezzed turned round (its red arrow towards the back of the train) runs facing backwards, and "faces", "front" or "rear" says so outright. "cab" gives a cab car its cab ("front" is its own +X end); "power", TRUE for a car that drives the train; "unit", TRUE for a car coupled for good to the one in front (a tender, a car of a multiple unit).

wolfCall("train.where", [train name]) Wolf command a script of the owner

Where your train is now - its engine's root prim. Heading is a compass bearing: 0 = north, 90 = east (-1 when it cannot be told). Speed is 0 unless the state is "running". The odometer is the metres the train has run since it started; "seconds old" is how long ago its region last told the grid (0 when the engine is in your region; elsewhere the place is worked on along the line from its speed, as the carriages do). Its place in its region is ZERO_VECTOR when the grid cannot say it just now (the train has just run on over the region's edge, say); the place in grid metres is always given. Just as the engine crosses a border the call is refused: ask again in a few seconds. From another region than the engine's use wolfCallAsync. Only your own trains: for anyone else's you are told there is no such train.

Lets that avatar drive your train. They must be sitting on that object (its cab seat); FORWARD then means towards the front of that cab, whichever end of the train it is at. With WolfViewer or WolfStorm the Train Cab opens for them: power, brake, forward / neutral / reverse, Easy driving (one lever: the train keeps a share of its line speed and stops at stations by itself) and the horn - the engine's own sound called "horn", else "whistle". The region reads their controls itself. It never lets the train run faster than the speed train.start set, and always brakes in time for the end of the line and for a guide described "stop". A driven train crosses region borders with its driver: the next region takes the cab over. If the region ahead cannot take a driven train, the train stops before the border and the driver keeps the cab. When the driver stands up or leaves, the train stops. A viewer without the Train Cab is told after a few seconds to touch the engine for its menu instead, and the train stands. After a stop guide the power must be let go once before the train sets off again. NULL_KEY gives the cab back: the train runs itself again as train.start set it. train.start and train.speed also take the cab back. AUTO in the cab makes the train drive itself - its line speed, the stations, the signals and points as set - until the driver takes a lever or presses AUTO again; a driver who stands up in Auto leaves it running by itself as a timetable train (stations, signals and all) until someone drives it or you stop it (train.speed 0, train.control or train.detach). With the train standing, the reverser at reverse and some power back it along its line, the protection still on: it stops before the end of the line behind and short of another train, and backs into the next region only when that region can take it. Easy driving has FORWARD and BACK: BACK backs it slowly, for leaving a platform. One press of POINTS in the cab changes the next points drivers may change (described "points name driver"), within 200 m, and the cab says how they are set now. Trains keep their line speed over region borders: each region shares its track near its edges, so the train sees the line ahead in the next region (it slows only for what it cannot know from there - a signal, or the shorter line at points - and as before where a region has not shared its track yet). With "shunt" the driver may also couple and uncouple the train (COUPLE and UNCOUPLE in the cab); without it they may not - so a resident driving your train never couples or uncouples your stock unless you let them.

wolfCall("train.points", [points name] or [points name, "left", "right", "toggle" or "auto"]) Wolf command anyone reads; the owner of the points guide sets them (the estate owner or a manager for the land's points)

Points are a guide described "points name" (add "driver" to let drivers change them from the cab). Left or right picks the branch to that side; "auto" is the nearest guide on, as always. Points are their guide's owner's: your own guide with the same name as someone else's is your own points. They do not change while a train is on them or coming onto them. Kept when the region restarts. (wolf-rail 1.3.1) For points at real track centres, describe the first guide of each branch "branch name left" and "branch name right" (both branches, the points' own name): left or right then takes the guide marked for that side, "auto" the straighter of the two, and the points change with a train on the road beside them - only a train on or coming onto either branch holds them. Where two one-way lines join, "points name" on the join guide picks the line a train backing over the join takes. (wolf-rail 1.3.4) Points a terminus route has set are locked: nobody changes them - not a script, not the cab's POINTS - until the route is released. (wolf-rail 1.3.5) Points a terminus junction service sets train by train are refused the same way, with an answer that says so, until that terminus is paused or deleted; reading them is never refused.

wolfCall("train.ends", [train name]) Wolf command a script of the owner, in the engine's region

Changes ends at a dead-end platform: the other end of the train becomes its head and it will run back out the way it came. Nothing moves and nothing turns round - every car looks just as it did, so a cab car at the far end leads now. Passengers stay in their seats. Someone driving walks to the cab at the other end and sits in it to drive on (they have 2 minutes; the touch menu of wolf_train_cab.lsl does this). With someone driving, the call counts as their own press of Change ends. Refused while the train moves, while a script drives it (train.speed 0 first), while any of it is in another region, or where no guides lead the other way. A train with a car facing backwards crosses only into regions that run wolf-rail 1.3 or later; before others it waits at the border. train.turn is still there for trains that look the same at both ends.

Splits the standing train behind that many units, counted from the end with the cab in use (an engine and its tender, or cars joined with "unit", are never split), or behind the unit of the vehicle you name. The part with the cab keeps the name and its driver; the other part is a new train of yours under the new name. A part with nothing that has power is a rake: it never moves by itself (train.speed, train.go, train.start and train.control refuse it) until an engine couples to it, and like any standing train it holds its signal at danger and other trains stop 2 m short of it. Refused while it moves, while any of it is in another region, or when the region has no room for one more train. If the grid does not take it, the train stays as it was and train.info says why.

wolfCall("train.turntable", [train name, turntable name, road number or "opposite"]; the estate: [turntable name, "deck", the deck's key or NULL_KEY]) Wolf command a script of the owner, in the engine's region; the deck is named by the estate owner or an estate manager, or (wolf-rail 1.3.7) by the owner of the land it stands on

Turns an engine on a turntable. The engine (with its tender, attached with "unit") stands at the edge of the turntable on one of its roads - at the stop guide where that road meets the deck - with nobody driving it. It is drawn slowly onto the deck until its middle is over the centre, turned with the deck at 6 degrees a second so that its front faces the road you name, then drawn off until its front bogie is on that road's first guide. It then stands: train.go or train.speed takes it along the road. Roads are numbered clockwise from north, 1 being the first; "opposite" turns it half round, so it goes back out the way it came, facing the other way. Passengers stay in their seats and go round with it. The whole train must be no longer than the deck less 1 metre and wholly in this region. Refused while it moves, while another train is on the deck or stands over its edge, or on the road it is to leave by. With someone driving, the call counts as their own press of TURNTABLE in the cab (wolf-rail 1.3.7): they stay in their seat and go round with it, and drive it off when it has turned. While the turntable is in use, signals on the lines that lead onto it show red to every other train. The track is the estate's: a guide described "turntable name" at the deck's centre, roads whose first guide (pointing out from the centre) lies within the deck's radius and 2 metres of it, each road ending in a "stop" at the deck's edge on the way in; the deck is one object of the estate's, its root at the centre and its rails along its own X, named once with [turntable name, "deck", its key]. (wolf-rail 1.3.7) On your own land you may name your own deck too: the deck must be yours, and its whole circle, its centre guide and the first guide of every road must lie on parcels you own (a parcel deeded to a group does not count). A turntable named by someone else is theirs to change; the estate owner or a manager may name or clear any. The deck's circle ends the line for every train: no train runs onto the deck except when the turntable itself draws it on and off. If the region restarts part way, the engine is turned on to its road when the region is back. A turn that cannot be finished within 5 minutes is given up and the engine stands where it is.

Makes a terminus of the region's land-laid track: the station works its own throat. Send the configuration as JSON, in parts if it is long (at most 60,000 characters in all), then commit: {"entries": the signals arriving trains wait at, "starters": the signals at the platforms' far ends trains leave by, "platforms": their names, "services": the trains it looks after, "route_timeout_s": 30-600 (120 if left out)}. Each platform is a guide described "platform name" - the first guide inside the platform on the arriving lay - and runs on to the next "stop"; a through platform with no stop is not one. Each service is {"owner": the owner's key, "train": its name, "kind": "turnback", "platforms": the ones it may use, first choice first, "dwell_s": 10-600, "out": "west", "east", "south" or "north"}. On commit it finds every route from each entry to each platform and from each starter out to the region's edge, and which routes cannot be set together. Then, for a service that comes up to an entry, it picks the first free platform long enough for it, sets the points and locks them, and clears the signal for that train alone; any other train waits at the red signal. Once the train is in the platform the route is freed. A double-ended set changes ends there after its dwell, and when it comes up to the starter the terminus sets the route out. With a driver aboard (Auto too) the train stops and the driver is asked to change ends - it never does so by itself. A route not used within its time-out is freed. Its routes are kept when the region restarts. Pause stops it setting routes (they can still be set by hand); a configuration is committed or deleted only while no route is set. Every route stays inside this region: lines over a border are not interlocked by it. (wolf-rail 1.3.5) A service may instead be a junction: {"owner", "train", "kind": "junction", "points": the land's points by name, "set": "left" or "right"} - as that train stands at a station whose next points are those, the terminus sets them for it, reads them back and holds the train there until they are right (never while another train is on them, coming onto them or running up to them, nor while a route has locked them). The first train to stand is served first. A configuration of junction services alone needs no entries or platforms. While it is not paused those points are set only by it.

Functions

Adjusts the volume (0.0 - 1.0) of the currently playing attached sound.\ This function has no effect on sounds started with llTriggerSound.

If Flag == TRUE, users without object modify permissions can still drop inventory items into the object.

Applies impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.

Applies rotational impulse to the object.\ If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\ This function only works on physical objects.

Follows the same convention as llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.

Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\ Reports collision data for intersections with objects.\ Return value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.

Returns the cloud density at the object's position + Offset.

Suppress default collision sounds, replace default impact sounds with ImpactSound.\ The ImpactSound must be in the object inventory.\ Supply an empty string to suppress collision sounds.

Suppress default collision sprites, replace default impact sprite with ImpactSprite; found in the object inventory (empty string to just suppress).

Attempt to link the object the script is in, to target (requires permission PERMISSION_CHANGE_LINKS be set).\ Requires permission PERMISSION_CHANGE_LINKS be set.

No description recorded yet.

Remove the object containing the script from the avatar.

Returns the grab offset of a user touching the object.\ Returns <0.0, 0.0, 0.0> if Number is not a valid object.

Returns TRUE if detected object or agent Number has the same user group active as this object.\ It will return FALSE if the object or agent is in the group, but the group is not active.

Returns the key of detected object or avatar number.\ Returns NULL_KEY if Number is not a valid index.

Returns the link position of the triggered event for touches and collisions only.\ 0 for a non-linked object, 1 for the root of a linked object, 2 for the first child, etc.

Returns the name of detected object or avatar number.\ Returns the name of detected object number.\ Returns empty string if Number is not a valid index.

Returns the key of detected object's owner.\ Returns invalid key if Number is not a valid index.

Returns the position of detected object or avatar number.\ Returns <0.0, 0.0, 0.0> if Number is not a valid index.

Returns the rotation of detected object or avatar number.\ Returns <0.0, 0.0, 0.0, 1.0> if Number is not a valid offset.

Returns the position, in region coordinates, where the object was touched in a triggered touch event.\ Unless it is a HUD, in which case it returns the position relative to the attach point.

Returns the type (AGENT, ACTIVE, PASSIVE, SCRIPTED) of detected object.\ Returns 0 if number is not a valid index.\ Note that number is a bit-field, so comparisons need to be a bitwise checked. e.g.:\ integer iType = llDetectedType(0);\ {\ // ...do stuff with the agent\ }

Returns the velocity of the detected object Number.\ Returns<0.0, 0.0, 0.0> if Number is not a valid offset.

Shows a dialog box on the avatar's screen with the message.\ Up to 12 strings in the list form buttons.\ If a button is clicked, the name is chatted on Channel.\ Opens a "notify box" in the given avatars screen displaying the message.\ Up to twelve buttons can be specified in a list of strings. When the user clicks a button, the name of the button is said on the specified channel.\ Channels work just like llSay(), so channel 0 can be heard by everyone.\ The chat originates at the object's position, not the avatar's position, even though it is said as the avatar (uses avatar's UUID and Name etc.).\ Examples:\ llDialog(who, "Are you a boy or a girl?", [ "Boy", "Girl" ], -4913);\ llDialog(who, "This shows only an OK button.", [], -192);\ llDialog(who, "This chats so you can 'hear' it.", ["Hooray"], 0);

Delete the object which holds the script.

Ejects AvatarID from land that you own.\ Ejects AvatarID from land that the object owner (group or resident) owns.

Sends email to Address with Subject and Message.\ Sends an email to Address with Subject and Message.

If Enable is TRUE any avatar that sits on this object is forced into mouse-look mode.\ After calling this function with Enable set to TRUE, any agent sitting down on the prim will be forced into mouse-look.\ Just like llSitTarget, this changes a permanent property of the prim (not the object) and needs to be reset by calling this function with Enable set to FALSE in order to disable it.

Returns the acceleration of the object relative to the region's axes.\ Gets the acceleration of the object.

Returns an integer bit-field containing the agent information about id.\ Returns AGENT_FLYING, AGENT_ATTACHMENTS, AGENT_SCRIPTED, AGENT_SITTING, AGENT_ON_OBJECT, AGENT_MOUSELOOK, AGENT_AWAY, AGENT_BUSY, AGENT_TYPING, AGENT_CROUCHING, AGENT_ALWAYS_RUN, AGENT_WALKING and/or AGENT_IN_AIR.\ Returns information about the given agent ID as a bit-field of agent info constants.

If the avatar is in the same region, returns the size of the bounding box of the requested avatar by id, otherwise returns ZERO_VECTOR.\ If the agent is in the same region as the object, returns the size of the avatar.

Returns a string that is the name of the animation that is used for the specified animation state\ To use this function the script must obtain either the PERMISSION_OVERRIDE_ANIMATIONS or PERMISSION_TRIGGER_ANIMATION permission (automatically granted to attached objects).

Returns the object's attachment point, or 0 if not attached.

Returns the bounding box around the object (including any linked prims) relative to its root prim, as a list in the format [ (vector) min_corner, (vector) max_corner ].

Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).

Returns a key for the creator of the prim.\ Returns the key of the object's original creator. Similar to llGetOwner.

Returns how much energy is in the object as a percentage of maximum.

Returns the vector that is the geometric center of the object relative to the root prim.

Returns a key for the creator of the inventory item.\ This function returns the UUID of the creator of item. If item is not found in inventory, the object says "No item named 'name'".

Returns the requested permission mask for the inventory item.\ Returns the requested permission mask for the inventory item defined by InventoryItem. If item is not in the object's inventory, llGetInventoryPermMask returns FALSE and causes the object to say "No item named '<item>'", where "<item>" is item.

Returns the key of the prim the script is attached to.\ Get the key for the object which has this script.

Returns the list of primitive attributes requested in the Parameters list for LinkNumber.\ PRIM_* flags can be broken into three categories, face flags, prim flags, and object flags.\ * Supplying a prim or object flag will return that flags attributes.\ * Face flags require the user to also supply a face index parameter.

Returns the position relative to the root.\ Returns the local position of a child object relative to the root.

Returns the rotation local to the root.\ Returns the local rotation of a child object relative to the root.

Returns the mass of object that the script is attached to.\ Returns the scripted object's mass. When called from a script in a link-set, the parent will return the sum of the link-set weights, while a child will return just its own mass. When called from a script inside an attachment, this function will return the mass of the avatar it's attached to, not its own.

Returns the largest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.

Returns the smallest multiplicative uniform scale factor that can be successfully applied (via llScaleByFactor()) to the object without violating prim size or linkability rules.

Fetch the next queued email with that matches the given address and/or subject, via the email event.\ If the parameters are blank, they are not used for filtering.

Returns the number of prims in a link set the script is attached to.\ Returns the number of prims in (and avatars seated on) the object the script is in.

No description recorded yet.

Returns the description of the prim the script is attached to.\ Returns the description of the scripted object/prim. You can set the description using llSetObjectDesc.

Returns a list of object details specified in the Parameters list for the object or avatar in the region with key ID.\ Parameters are specified by the OBJECT_* constants.

Returns the mass of the avatar or object in the region.\ Gets the mass of the object or avatar corresponding to ID.

Returns the name of the prim which the script is attached to.\ Returns the name of the prim (not object) which contains the script.

Returns the permission mask of the requested category for the object.

Returns the total number of prims for an object in the region.\ Returns the prim count for any object id in the same region.

Returns the rotation velocity in radians per second.\ Returns a vector that is the rotation velocity of the object in radians per second.

Returns the object owner's UUID.\ Returns the key for the owner of the object.

Returns the owner of ObjectID.\ Returns the key for the owner of object ObjectID.

Gets the streaming audio URL for the parcel object is on.\ The object owner, avatar or group, must also be the land owner.

Returns the number of prims on the parcel at Position of the given category.\ Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\ Returns the number of prims used on the parcel at Position which are in Category.\ If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\ If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified

Returns a list of up to 100 residents who own objects on the parcel at Position, with per-owner land impact totals.\ Requires owner-like permissions for the parcel, and for the script owner to be present in the region.\ The list is formatted as [ key agentKey1, integer agentLI1, key agentKey2, integer agentLI2, ... ], sorted by agent key.\ The integers are the combined land impacts of the objects owned by the corresponding agents.

Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.

Returns a vector, in meters, that is the global location of the south-west corner of the region which the object is in.\ Returns the Region-Corner of the simulator containing the task. The region-corner is a vector (values in meters) representing distance from the first region.

Returns the region flags (REGION_FLAG_*) for the region the object is in.\ Returns a bit-field specifying the region flags (REGION_FLAG_*) for the region the object is in.

Returns the position (in region coordinates) of the root prim of the object which the script is attached to.\ This is used to allow a child prim to determine where the root is.

Returns the rotation (relative to the region) of the root prim of the object which the script is attached to.\ Gets the global rotation of the root object of the object script is attached to.

Returns an integer that is the script rez parameter.\ If the object was rezzed by an agent, this function returns 0.

Returns boolean value of the specified status (e.g. STATUS_PHANTOM) of the object the script is attached to.

Returns a string that is the texture on face (the inventory name if it is a texture in the prim's inventory, otherwise the key).\ Returns the texture of a face, if it is found in object inventory, its key otherwise.

Returns the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC from the system clock.

Returns the velocity of the object.\ Returns a vector that is the velocity of the object.

Give InventoryItem to destination represented by TargetID, as permitted by the permissions system.\ TargetID may be any agent or an object in the same region.

Give InventoryItems to destination (represented by TargetID) as a new folder of items, as permitted by the permissions system.\ TargetID may be any agent or an object in the same region. If TargetID is an object, the items are passed directly to the object inventory (no folder is created).

Rez directly off of a UUID if owner has god-bit set.

Returns the ground height at the object position + offset.\ Returns the ground height at the object's position + Offset.

Returns the ground contour direction below the object position + Offset.\ Returns the ground contour at the object's position + Offset.

Returns the ground normal below the object position + offset.\ Returns the ground contour at the object's position + Offset.

Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).\ Critically damps to fHeight if within fHeight * 0.5 of ground or water level.\ The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.\ Do not use with vehicles. Only works in physics-enabled objects.

Returns the ground slope below the object position + Offset.\ Returns the ground slope at the object position + Offset.

Converts the top level of the JSON string to a list.

Gets the value indicated by Specifiers from the JSON string.

Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.

Returns the type constant (JSON_*) for the value in JSON indicated by Specifiers.

Creates a particle system in prim LinkNumber based on Rules. An empty list removes a particle system from object.\ List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].\ This is identical to llParticleSystem except that it applies to a specified linked prim and not just the prim the script is in.

Converts either a strided list of key:value pairs to a JSON_OBJECT, or a list of values to a JSON_ARRAY.

Cause object name to point its forward axis towards Target, at a force controlled by Strength and Damping.\ Good Strength values are around half the mass of the object and good Damping values are less than 1/10th of the Strength.\ Asymmetrical shapes require smaller Damping. A Strength of 0.0 cancels the look at.

Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\ Only one sound may be attached to an object at a time.\ A second call to llLoopSound with the same key will not restart the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\ Setting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\ To restart the sound from the beginning, call llStopSound before calling llLoopSound again.

Make a round explosion of particles. Deprecated: Use llParticleSystem instead.\ Make a round explosion of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make fire like particles. Deprecated: Use llParticleSystem instead.\ Make fire particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make a fountain of particles. Deprecated: Use llParticleSystem instead.\ Make a fountain of particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Make smoke like particles. Deprecated: Use llParticleSystem instead.\ Make smoky particles using texture from the objects inventory. Deprecated: Use llParticleSystem instead.

Adds or removes agents from the estate's agent access or ban lists, or groups to the estate's group access list. Action is one of the ESTATE_ACCESS_ALLOWED_* operations to perform.\ Returns an integer representing a boolean, TRUE if the call was successful; FALSE if throttled, invalid action, invalid or null id or object owner is not allowed to manage the estate.\ The object owner is notified of any changes, unless PERMISSION_SILENT_ESTATE_MANAGEMENT has been granted to the script.

Returns TRUE if id ID over land owned by the script owner, otherwise FALSE.\ Returns TRUE if key ID is over land owned by the object owner, FALSE otherwise.

says Text to owner only (if owner is in region).\ Says Text to the owner of the object running the script, if the owner has been within the object's simulator since logging into Second Life, regardless of where they may be in-world.

Queries the media properties of the parcel containing the script, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.\ This function will only work if the script is contained within an object owned by the land-owner (or if the land is owned by a group, only if the object has been deeded to the group).

Creates a particle system in the prim the script is attached to, based on Parameters. An empty list removes a particle system from object.\ List format is [ rule-1, data-1, rule-2, data-2 ... rule-n, data-n ].

Plays Sound once, at Volume (0.0 - 1.0) and attached to the object.\ Only one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.\ A second call to llPlaySound with the same sound will not restart the sound, but the new volume will be used, which allows control over the volume of already playing sounds.\ To restart the sound from the beginning, call llStopSound before calling llPlaySound again.

Causes nearby viewers to preload the Sound from the object's inventory.\ This is intended to prevent delays in starting new sounds when called upon.

Applies Impulse and AngularImpulse to ObjectID.\ Applies the supplied impulse and angular impulse to the object specified.

Reloads the web page shown on the sides of the object.

Says Text, on Channel, to avatar or object indicated by TargetID (if within region).\ If TargetID is an avatar and Channel is nonzero, Text can be heard by any attachment on the avatar.

Deprecated: Use HTTP functions/events instead.\ If an object using remote data channels changes regions, you must call this function to re-register the remote data channels.\ You do not need to make this call if you don't change regions.

If the owner of the object containing this script can modify the object identified by the specified object key, and if the PIN matches the PIN previously set using llSetRemoteScriptAccessPin (on the target prim), then the script will be copied into target. Running is a boolean specifying whether the script should be enabled once copied into the target object.

Remove the named inventory item.\ Remove the named inventory item from the object inventory.

Ask AvatarID to allow the script to perform certain actions, specified in the PermissionMask bitmask. PermissionMask should be one or more PERMISSION_* constants. Multiple permissions can be requested simultaneously by ORing the constants together. Many of the permissions requests can only go to object owner.\ This call will not stop script execution. If the avatar grants the requested permissions, the run_time_permissions event will be called.

Requests one HTTPS:// (SSL) URL for use by this object. The http_request event is triggered with results.\ Returns a key that is the handle used for identifying the request in the http_request event.

Instantiate owner's InventoryItem at Position with Velocity, Rotation and with StartParameter. The last selected root object's location will be set to Position.\ Creates object's inventory item at the given Position, with Velocity, Rotation, and StartParameter.

Instantiate owners InventoryItem at Position with Velocity, Rotation and with start StartParameter.\ Creates object's inventory item at Position with Velocity and Rotation supplied. The StartParameter value will be available to the newly created object in the on_rez event or through the llGetStartParameter function.\ The Velocity parameter is ignored if the rezzed object is not physical.

Cause object to rotate to Rotation, with a force function defined by Strength and Damping parameters. Good strength values are around half the mass of the object and good damping values are less than 1/10th of the strength.\ Asymmetrical shapes require smaller damping.\ A strength of 0.0 cancels the look at.

Returns TRUE if avatar ID is in the same region and has the same active group, otherwise FALSE.\ Returns TRUE if the object or agent identified is in the same simulator and has the same active group as this object. Otherwise, returns FALSE.

Attempts to resize the entire object by ScalingFactor, maintaining the size-position ratios of the prims.\ \ Resizing is subject to prim scale limits and linkability limits. This function can not resize the object if the linkset is physical, a pathfinding character, in a keyframed motion, or if resizing would cause the parcel to overflow.\ Returns a boolean (an integer) TRUE if it succeeds, FALSE if it fails.

Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\ Has no effect on non-physical objects.

Sets the animation (in object inventory) that will play for the given animation state.\ To use this function the script must obtain the PERMISSION_OVERRIDE_ANIMATIONS permission.

Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).\ Set the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.

Sets the camera used in this object, at offset, if an avatar sits on it.\ Sets the offset that an avatar's camera will be moved to if the avatar sits on the object.

Sets the camera eye offset used in this object if an avatar sits on it.

Sets the amount of damage that will be done to an avatar that this task hits. Task will be killed.\ Sets the amount of damage that will be done to an avatar that this object hits. This object will be destroyed on damaging an avatar, and no collision event is triggered.

Sets Force on object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Critically damps a physical object to a Height (either above ground level or above the higher of land and water if water == TRUE).\ Do not use with vehicles. Use llStopHover to stop hovering.

Requests that a non-physical object be key-framed according to key-frame list.\ Specify a list of times, positions, and orientations to be followed by an object. The object will be smoothly moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\ Keyframes is a strided list containing positional, rotational, and time data for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants).

Animates a texture on the prim specified by LinkNumber, by setting the texture scale and offset.\ Mode is a bitmask of animation options.\ Face specifies which object face to animate.\ SizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\ Length specifies the animation duration.\ Rate specifies the animation playback rate.

Sets the description of the prim to Description.\ The description field is limited to 127 characters.

Sets the prim's name to Name.

Sets the specified PermissionFlag permission to the value specified by PermissionMask on the object the script is attached to.

Sets the streaming audio URL for the parcel the object is on.\ The object must be owned by the owner of the parcel; if the parcel is group owned the object must be owned by that group.

Sets the default amount when someone chooses to pay this object.\ Price is the default price shown in the textu input field. QuickButtons specifies the 4 payment values shown in the payment dialog's buttons.\ Input field and buttons may be hidden with PAY_HIDE constant, and may be set to their default values using PAY_DEFAULT.

Sets the selected parameters of the object's physics behavior.\ MaterialBits is a bitmask specifying which of the parameters in the other arguments should be applied to the object. GravityMultiplier, Restitution, Friction, and Density are the possible parameters to manipulate.

If the object is not physical, this function sets the position of the prim.\ If the script is in a child prim, Position is treated as root relative and the link-set is adjusted.\ If the prim is the root prim, the entire object is moved (up to 10m) to Position in region coordinates.

Attempts to move the object so that the root prim is within 0.1m of Position.\ Returns an integer boolean, TRUE if the object is successfully placed within 0.1 m of Position, FALSE otherwise.\ Position may be any location within the region or up to 10m across a region border.\ If the position is below ground, it will be set to the ground level at that x,y location.

If the object is not physical, this function sets the rotation of the prim.\ If the script is in a child prim, Rotation is treated as root relative and the link-set is adjusted.\ If the prim is the root prim, the entire object is rotated to Rotation in the global reference frame.

Sets whether successive calls to llPlaySound, llLoopSound, etc., (attached sounds) interrupt the currently playing sound.\ The default for objects is FALSE. Setting this value to TRUE will make the sound wait until the current playing sound reaches its end. The queue is one level deep.

Sets object status specified in Status bitmask (e.g. STATUS_PHYSICS|STATUS_PHANTOM) to boolean Value.\ For a full list of STATUS_* constants, see wiki documentation.

Animates a texture by setting the texture scale and offset.\ Mode is a bitmask of animation options.\ Face specifies which object face to animate.\ SizeX and SizeY specify the number of horizontal and vertical frames.Start specifes the animation start point.\ Length specifies the animation duration.\ Rate specifies the animation playback rate.

Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).\ Only works on physical objects.

Activates the vehicle action on the object with vehicle preset Type.\ Valid Types and an explanation of their characteristics can be found in wiki documentation.

If the object is physics-enabled, sets the object's linear velocity to Velocity.\ If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.

Set the sit location for this object. If offset == ZERO_VECTOR, clears the sit target.

No description recorded yet.

Stop causing object to point at a target (due to llLookAt() or llRotLookAt()).

No description recorded yet.

Attempt to spin at SpinRate with strength Gain on Axis.\ A spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.

Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current region. In either case, the avatar is turned to face the position given by look_at in local coordinates.\ Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.

Teleports an agent to the RegionPosition local coordinates within a region which is specified by the GlobalPosition global coordinates. The agent lands facing the position defined by LookAtPoint local coordinates.\ Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.

Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object.\ There is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.

Plays Sound at Volume (0.0 - 1.0), centered at but not attached to object, limited to axis-aligned bounding box defined by vectors top-north-east (TNE) and bottom-south-west (BSW).\ There is no limit to the number of triggered sounds which can be generated by an object, and calling llTriggerSound does not affect the attached sounds created by llPlaySound and llLoopSound. This is very useful for things like collision noises, explosions, etc. There is no way to stop or alter the volume of a sound triggered by this function.

If agent identified by AvatarID is sitting on the object the script is attached to or is over land owned by the objects owner, the agent is forced to stand up.

If DetectEnabled = TRUE, object becomes phantom but triggers collision_start and collision_end events when other objects start and stop interpenetrating.\ If another object (including avatars) interpenetrates it, it will get a collision_start event.\ When an object stops interpenetrating, a collision_end event is generated. While the other is inter-penetrating, collision events are NOT generated.

Returns the water height below the object position + Offset.

Returns the wind velocity at the object position + Offset.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Creates a notecard with the specified avatar's current appearance inside the object

No description recorded yet.

Deletes an object depending on the target uuid. Note: Only allow osDie() on objects rezzed by the script prim Group (linkset) or on it self.

Eject the specified avatar from the object's current group

Attaches the object to the avatar.; No PERMISSION_ATTACH check.

to llBreakLink(integer link) except that it doesn't require the link permission to be granted. Delinks the prim with the given link number in a linked object set.

Idential to llCreateLink() except that it doesn't require the link permission to be granted. Attempt to link the script's object with target.

Detaches the object from the avatar.; No PERMISSION_ATTACH check.

Returns a given line in a specified notecard contained in the object

No description recorded yet.

Returns the key of the object's parent object

No description recorded yet.

Invited the specified avatar to the object's current group

Sends a specified message to an object

Save the target NPC's current appearance to a notecard in the object's inventory

Makes the target NPC sit on an object

Makes the target NPC to touch the specified object

Creates a notecard with the object owner's current appearance inside the object

Joins two adjacent parcels within the same region

Subdivides a parcel into two adjacent parcels within the same region

Allows creators to set the major physics dynamic proprieties, replacing the values estimated from the linkset parts. Call osClearInertia to undo.

Set physical object to float at the given water level

Adjusts water height in current region

Teleports the owner of the object containing the script to the specified location

[adventure, session, party, act, scene, beat, objective] for the adventure the avatar plays on this region, or [] when none.

Bind this object as the adventure's chest with that id on this region (TRUE), or unbind it (FALSE): the story gives inventory rewards and rezzes props from it. The object's owner must be the adventure's owner; everything in it (but scripts) must be copyable.

The story character with that id joins the avatar's party as a companion (TRUE) or leaves it (FALSE). adventure "" = the only adventure the avatar plays on this region. Heard as companion|av|adv|character|joined or left. The adventure's owner's scripts, a god's, or its trusted scripts.

Story events to this object as chat on the channel (from the adventure's title and key): start|av|adv|party, beat|av|adv|act|scene|beat, choose|av|adv|decision|option, flag|av|adv|flag|value, reward|av|adv|parcel, end|av|adv|ending, leave|av|adv, signal|av|adv|name|data, battle|av|adv|battle|won or lost, companion|av|adv|character|joined or left. 0 stops. Heard by the adventure owner's scripts, its trusted scripts and the region holder's; a worn object hears only its wearer's events.

The adventure's owner names a script in this object (by its asset - an edited copy is not) as one of the adventure's own (TRUE) or takes that back (FALSE). Its own scripts get the larger request budget and hear its events.

Couple this object (the rear) to the object with coupler key frontKey, joining myPoint (root prim frame) to its hitch point pointName. Both must have the same owner and be physical. The joint is made as soon as the points are within reach, and is kept through restarts and region crossings until wolfDetach. Type is WOLF_JOINT_BALL, WOLF_JOINT_FIFTHWHEEL or WOLF_JOINT_COUPLER; options are "yaw", "pitch" (degrees), "reach" and "break" (metres).

list wolfAttachInfo() Wolf Territories

This object's coupling: [status, front key, point name, front object key]. Status is WOLF_ATTACH_NONE, WOLF_ATTACH_WAITING, WOLF_ATTACH_COUPLED or WOLF_ATTACH_BROKEN.

From a worn script (a HUD or an attachment): its wearer breathes WOLF_BREATH_FIRE or WOLF_BREATH_ICE for `seconds` (0.5 to 20; 0 = 3), or WOLF_BREATH_STOP stops a breath. The stream comes from the object the script is in when it is worn on the body, else from the wearer's attachment with "[wolfBreath]" in its description (a WolfAvatars dragon's breath object, worn at the mouth); every viewer sees it, with a sound. In the region's game, players in the breath (WOLF_BREATH_REACH metres from WOLF_BREATH_ORIGIN along the wearer's facing) lose health (ice also slows them) when the wearer is playing too; never on safe land, never anyone not playing. A 4 s rest after each breath. options: [WOLF_BREATH_ORIGIN, vector, WOLF_BREATH_REACH, float]. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfBreath / WolfBreath.

Breaks the build this script is in into its separate prims in one go (like llBreakAllLinks, no script in every prim), lets them fall as temporary physical rubble with an optional outward blast (force in m/s at blast_centre, region coordinates; 0 = they just fall), and after restore_after seconds (10 to 3600) removes the rubble and puts the build back exactly as it was (its scripts start again from state_entry). Needs PERMISSION_CHANGE_LINKS from the owner; every prim must be copy and modify and every item in it copy for the owner; the owner must be allowed to build there. At most 128 pieces fall (the rest stay where they are), started over a few seconds. A build made of one mesh only topples as one piece. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfCollapse / WolfWreck.

Remove a named hitch point from this object.

Give this object a coupler key, the name a rear object uses to find it with wolfAttach. Not a UUID, so it survives rezzing, restarts and region crossings. "" removes the key.

Name a hitch point on this object, in its root prim's frame (+X forward, +Y left, +Z up), for a rear object to couple to. Up to 8 points; setting a name again moves it.

Drive the Wolf dashboard of a driver sitting on this object: key/value pairs - type ("car", "truck", "bike", "speedboat", "spaceship", "submarine"), units ("kmh", "mph", "kn"), rpm, max_rpm, redline, max_speed, gear ("P", "R", "N", "D", "1".."18"), fuel, adblue (percent), temp (C), air1, air2 (bar), indicators (0 off, 1 left, 2 right, 3 hazard), lights (0, 1 dipped, 2 main), handbrake, retarder (0-5, the stage braking now), dsc_speed (km/h, downhill speed control's set speed), cruise, drive_time (seconds), odo (km), warnings ("engine,oil,abs,retarder..."), clear; speedboat/spaceship/submarine: throttle (-100..100), trim (-5..5), anchor, engine, mode ("ship", "rocket"), stage, stages (0-9), boost, shield, hull, heat (percent), assist, landing_gear, ballast (0-100), max_depth (m), oxygen, battery (percent), planes (-100..100), periscope. The speed is measured by the viewer. Each driver takes 10 at once, then 5 a second; at most 64 values (32 pairs) in one call. TRUE when sent.

integer wolfDetach() Wolf Territories

Uncouple this object and forget its wolfAttach request.

The exact wheel and pedals of a driver sitting on this object (the script needs PERMISSION_TAKE_CONTROLS from them, as control() does), from their Wolf viewer: [steer -1..1 (right +), throttle 0..1, brake 0..1, clutch 0..1, gear (WOLF_DRIVE_GEAR_P/R/N/D or 1..18), buttons (WOLF_DRIVE_BTN_* bits; bits 19+ the truck retarder: stalk = (buttons >> WOLF_DRIVE_RETARDER_SHIFT) & WOLF_DRIVE_RETARDER_MASK, WOLF_DRIVE_BTN_RETARDER_DSC / _AUT / _DSC_UP / _DSC_DOWN), age in seconds] - always exactly 7 items. Sent on change and once a second, so an age over ~2 s means the viewer has gone. An empty list from any other viewer: keep a control() event for those.

A script effect drawn by Wolf viewers, e.g. wolfEffect("explosion", llGetPos() + <0,0,1>, ["size", 6, "shake", 0.8]). Effects: explosion, fireball, smoke, sparks, fire, fireworks, dust, splash (regions restarted since 29 October 2026), shockwave. Keys: size (metres), colour, colour2 (vectors 0..1), duration (seconds), intensity (0.1..2), shake (0..1), shake_radius (metres), sound (TRUE/FALSE), volume (0..1), direction (vector). In this region, within 96 m of the object; an object may start 5 at once then 2 a second. 1 when sent, 0 (wolfGetLastError says why) when refused.

The Wolf Environment document of this region (WOLF_ENV_REGION) or of the parcel this object is over (WOLF_ENV_PARCEL), as JSON (read it with llJsonGetValue), or "" when there is none. "" with wolfGetLastError set when it could not be read.

Change parts of the region's (WOLF_ENV_REGION) or this parcel's (WOLF_ENV_PARCEL) Wolf Environment with WOLF_ENV_* key/value rules; what is not named stays as it is. Checked by the same rules as the Wolf Environment window. The object's owner must hold the region (region) or own the parcel (parcel). Returns "" when done, otherwise the reason.

Make a Wolf Roleplay game for this region, owned by the script's owner, who must hold the region. Rules: name (unique), kind (managed|external), theme (wolves|plain), description, website, rules, logo, currency, symbol, currencyicon (the currency's picture, a texture key), start, playerpay, death (spawn|home|stay), respawn (seconds), spawn (vector - defaults to this object), webhook, webhooksecret, starter (items a player's first join gives, e.g. "meat=3,water=2"). Register the game's own scripts with wolfGameTrustScript. TRUE when created.

Join an avatar to this region's game. Only an object the avatar is wearing, or one of the game's own scripts (owned by the game's owner or a grid god, or trusted with wolfGameTrustScript), may join them; holding the region is not enough. Refused while the avatar's own Game Mode switch (in their viewer) is off, unless the region forces Game Mode: then they are read in as on arrival (playing a moment later) - never re-joined to a game they left.

Receive game events on this channel as chat (from the game's name and key; check the av field - a game script hears every player): join|av, arrive|av (playing on this region now - set up their action bar), leave|av, death|av|killer|cause, respawn|av, zero|av|stat, pay|from|to|amount, item|av|item|+n, equip|av|slot|item, unequip|av|slot|item, target|av|key, buffend|av|id, pet|av|pet|type (a pet was made for them), petdeath|av|pet|name (their pet died). 0 stops. The region's holder and the game's own scripts hear everyone; a WORN object hears only its own wearer's events.

A new pet for a player (a pet shop, a hatchery, breeding): owner, type, name, [data key, value, ...]. Returns the pet's key - keep it in the pet object (linkset data). "" when refused.

Your own https:// page in the player's viewer: mode panel, overlay or window; width and height 0 for automatic. From an object the player wears, or from the game's own scripts for anyone playing; "overlay" (over the whole screen) only from the game's own scripts.

Play a sound that only this player hears (name in this object, or a sound key). Volume 0.0-1.0.

Register a script in this object as one of the game's OWN scripts (by its asset - an edited copy is not). Only the game's owner. The game's own scripts are the only ones that may change players, money, items and pets.

Take a script in this object off the game's own list.

A fingerprint of the address the avatar `agent` (root or child presence in this region) is connected from: 32 lowercase hex characters, HMAC-SHA256 under a grid secret of "wolf-iphash-v1\n" + the script owner's UUID + "\n" + the address. The same for the same address in all of this owner's objects on every region; unrelated to any other owner's values; never the address. "" for a non-avatar key, an NPC or a region without the secret (wolfGetLastError says which). Defined on Wolf_Api.AgentIPHash.

Controls the WolfNPC this script is in (a resident's own NPC made with the WolfNPC window: a WolfAvatars body brought to life by the region). command is one of: what it does now - SAY, ANIM, ANIM_LOOP, ANIM_STOP, SOUND, GOTO, FOLLOW, SIT, STOP, BREATH (dragons only), HOME ("go"), PARK, DIALOG, QUEST, QUEST_ACCEPT, QUEST_ADVANCE, QUEST_DROP, HANDOUT, FLAG, UNFLAG, REP, SHOP, SKILL, BOARD, EVENT, EVENT_END; its kept settings - AI, BEHAVIOUR, WANDER, HOME, PAUSE, NAME, SPECIES, TAG, TAGS, PACK, GROUP, LEADER, INDOORS, SHY, VISITORS, SPEED, HUNTABLE, HEALTH, RESPAWN, HUNT, SIGHT, DAMAGE, ATTACK_COOLDOWN, GIVE_UP, CHASE_SPEED, XP, LOOT, JOB, ROUTINE, PLACE, VOICE, DAILY_LIMIT, NPC_TALK, WHEN, UNWHEN, DRIVE, ROUTE, EXIT, PASSENGER, CFG, GAME_ONLY, TRAVEL, NOISES, PET. value is its setting as text, e.g. wolfNPC("AI", "I am a wolf who likes to bite people...") or wolfNPC("WHEN", "near|name:Luke Coda|10|anim:dance;sound:luke tune;once=visit"). The game commands work only when the region's game is the NPC owner's and the avatar is playing it. AI talk and voice use the NPC owner's Wolf Credits. A new personality or skill text is applied only once the text check passes. Only works from a script inside the NPC owned by the NPC's owner. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfNPC / WolfNPCModule.

Reads the WolfNPC this script is in: "STATE" (intention|awake or asleep|alive or dead|health/max), "CFG" (its settings as JSON), "INTENT" (what it is doing now), "EVENTS" (its running events, comma-separated), or for a game player "FLAGS|<avatar>", "REP|<avatar>|<faction or me>" and "QUESTS|<avatar>". Returns "" with wolfGetLastError saying why when it cannot. Defined on Wolf_Api.wolfNPCInfo / WolfNPCModule.

Roll a Wolf viewer's camera about its line of sight: degrees -180..180 (+ right, - left), seconds 0..30 to get there; it stays rolled until the next call, 0 levels it. NULL_KEY: everyone within 96 m on land the object's owner controls. Same avatars and limits as wolfShakeCamera. 1 when sent (or nobody to roll), 0 when refused.

Set this region's weather. The script's OWNER must hold the region. Key/value pairs: see Wolf_Api.WeatherRulesToJson. TRUE when the grid accepted it, FALSE otherwise.

Shake a Wolf viewer's camera: strength 0..1, seconds 0.05..10. NULL_KEY: everyone within 96 m on land the object's owner controls. Only the object's owner, someone sitting on or wearing it, or someone on land the owner controls. 1 when sent (or nobody to shake), 0 when refused.

enable TRUE marks this object (the one the script is in) as a visitor vehicle: while an avatar is seated on it, a region it crosses into judges parcel entry as if that avatar owned it (bans on the avatar, the owner's estate ban, scripts and auto-return still apply; an empty vehicle crosses by the usual rules). Only an object whose owner is the estate owner or an estate manager of the region it is in may be marked. The mark lasts over crossings and restarts, and is lost when the object changes owner or is copied or taken. FALSE takes the mark off. Returns 1, or 0 with wolfGetLastError saying why. Defined on Wolf_Api.wolfVisitorObject / WolfVisitorVehicle.