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

370 results for “O”

wolfCall commands

Names you give to wolfCall or wolfCallAsync.

wolfCall("wolf.version", []) Wolf command anyone

Which version of these commands this region runs.

wolfCall("wolf.commands", []) Wolf command anyone

Every command in this list that this region answers.

Your NPCs on this region, or with "all" every NPC here. Rights is "edit" (yours to run), "control" (you may stop it, send it home, animate it, make a dragon breathe) or "none". At most 80 are listed; count is all of them.

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.

It says the words (up to 1000 characters) in local chat. An NPC speaks at most 5 lines in ten seconds.

It walks to that spot on this region, or to one of its own places (or tools) by name.

It follows an avatar or NPC on this region; "" stops following.

wolfCall("npc.stop", [npc]) Wolf command control

It stops and stands. Its looped animations stop too.

wolfCall("npc.home", [npc] or [npc, "here"]) Wolf command control; "here": owner

It goes home. With "here", where it stands now becomes its home.

Plays one of the animations in its contents once (the default), keeps it looping, or stops it. [npc, "", "stop"] stops them all.

A dragon breathes fire or ice for 0.5 to 20 seconds (0 or none = 3), the same breath as in its window.

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 weather on this region now: the condition, temperature, feels-like, humidity, pressure, wind, cloud, rain or snow, thunder, the sun and moon, the place and its local time. See "Weather" below for every name and unit.

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

Ready to say: a sentence about now ("It's 8°C in Tromsø with light rain and a fresh westerly wind. Sunset is at 15:42."), the full stats block, or the weather later ("later" = about 6 hours ahead; or 1-48 hours).

Sets the region's weather: clear, fair, cloudy, overcast, rain, storm, snow or fog, or a pattern (settled, changeable, unsettled, stormy, wintry). With minutes (1-1440) it goes back by itself afterwards; with 0 or no minutes it stays until changed. wolfCallAsync only.

wolfCallAsync("weather.auto", []) Wolf command region holders

Back to the real place's live weather. wolfCallAsync only.

A hurricane forms from the region's own clouds, rages, then dies away back into the region's own weather. Everyone on the region sees it. One at a time. wolfCallAsync only.

It dies away now: after at least a minute at full strength (one still forming finishes forming first), over at most 5 minutes. With "now" it is gone at once.

The storm now: "forming", "mature" or "decaying", and where its eye is (region metres).

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. A broadside: every loaded gun on "port" or "starboard" fires. Elevation in degrees (default 3, held to each gun's limits); shot "round" (the default), "chain" or "grape" (grape only where the region has player damage); captain = the key of the avatar giving the order, counted only while they sit aboard.

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. Which guns are crewed (a crewed gun reloads in 20 seconds, not 35) and whether the magazine is manned (reloads take a quarter less time). [0] when not in battle mode.

wolfCall("naval.status", []) Wolf command a script in the ship

The Caribbean only. The state now, at most twice a second (naval.watch tells you of every change). State is off, on, sinking, sunk:seconds, silenced:seconds or switching_off:seconds; health is "section=now/max,..."; each gun side is "ready/total/seconds" (a shore cannon's guns are in the port place, starboard is "0/0/0").

wolfCallAsync("naval.watch", [last seq]) Wolf command a script in the ship

The Caribbean only. Answers as soon as anything has changed since that sequence number, or after 240 seconds with nothing new. At most 4 scripts watch one ship. wolfCallAsync only.

wolfCall("naval.score", []) Wolf command a script in the ship

The Caribbean only. This ship's hits and sinks on others, and the damage it has taken, while in battle mode.

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.

A multi-engine aircraft's engines one by one, in dogfight mode: the pilot, or a flight engineer on a seat with the engines panel. Feather tells wolf-air an engine is stopped and feathered (or running again). The extinguisher works only on a burning engine that is stopped and feathered first; it puts the fire out 85 times in 100, and each engine has one bottle until she is rearmed on the ground or respawns. A fire left burning spreads to her wing after 20 seconds.

wolfCall("air.fire", ["autopilot", pilot, 1 or 0]) Wolf command a script in the aircraft

The autopilot is in (1) or out (0). Only the avatar on the pilot's (root) seat can put it in; any script of hers can take it out, with any key or NULL_KEY, even with the pilot's seat empty. It works with dogfight mode off, and is kept for her across regions. With it in and anyone else aboard, the pilot can bail out and she flies on. In dogfight mode, a class without an autopilot is refused.

wolfCall("air.status", []) Wolf command a script in the aircraft

The state now, at most twice a second (air.watch tells you of every change).

wolfCallAsync("air.watch", [last seq]) Wolf command a script in the aircraft

Answers as soon as anything has changed since that sequence number, or after 240 seconds with nothing new. At most 4 scripts watch one aircraft. The 15th value is the last event, "kind:words" (hit, hit_given, kill, down, wreck, respawn, fire, engine_dead, pilot_hit, rearmed, dogfight_on, switching_off, dogfight_off; from wolf-air 1.7, for bombers and multi-engine aircraft, also doors, bombs, bomb, range_run, engine_fire, feather, extinguished, autopilot, seat, crew_bailout and pilot_bailout). A practice bomber with dogfight mode off is answered too (state off), so a bombsight hears its bomb events.

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.crash", [impact speed m/s]) Wolf command a script in the aircraft

She has hit the ground. A crash within a minute of being hit is the attacker's kill ("forced down"). She lies as a wreck for 30 seconds, then respawns at home with full health and ammunition, protected for 20 seconds.

wolfCall("air.home", [position, rotation]) Wolf command a script in the aircraft

Where she respawns (on this region). Without it: where she was when dogfight mode went on.

wolfCall("air.score", []) Wolf command a script in the aircraft

This aircraft's score while in dogfight mode.

wolfCallAsync("air.feed", [last seq]) Wolf command any script

This region's kill feed (the last 30): answered when someone is shot down after that sequence number. Give -1 for everything kept. At most 16 scripts a region wait on it.

The grid's top aces.

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.

Practice drones flown by the region: targets fly a circuit and evade; enemies pursue aircraft in dogfight mode and fire short bursts. Enemy drones fly like a pilot of that skill (average if you leave it out): an easy one sees your breaks late, aims loosely and breaks off often; an ace tracks hard but still breaks off, extends and can overshoot. They only fly while someone is on the region and an aircraft is in dogfight mode, and cost nobody anything (no AI credits: they are rule-based). Also "/74 drones on [1-4] [target|enemy] [easy|average|ace]", "/74 drones off" or "/74 drones status" in local chat.

wolfCall("air.traffic", ["on"], ["off"] or ["status"]) Wolf command status: any script; on and off: a script owned by the region owner or a manager

Peaceful air traffic on autopilot passing over the region, with navigation and landing lights at night. Never in a dogfight, never hit. Also "/74 traffic on|off|status" in local chat.

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.

wolfCall("air.seat", [avatar, seat prim name]) Wolf command a script in the aircraft

Moves someone already aboard her to another seat prim without standing up, so a crew can change places in flight. Refused for someone not aboard her, a prim with no sit target, a seat that is taken, the seat they are already in, or more than one move a second. Works with dogfight mode off.

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.speed", [train name, metres a second]) Wolf command a script of the owner, in the engine's region

Changes the speed (0 to 30); 0 brakes the train to a stand and it stays stopped until a new speed is given.

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

Holds the whole train (it brakes to a stand) for up to 600 seconds, wherever its vehicles are; 0 lets it go at once.

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

State is "running", "held" (a station, a hold, a border crossing) or "stopped". From another region than the engine's use wolfCallAsync. (wolf-rail 1.3.4) For a terminus's service, why also says what the terminus is doing with it: routed into a platform, held at its signal and why, changing ends.

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.

Drives your train from a script - a touch menu, a timetable of your own. Power pulls, the brake slows it, both up to the train's own rates. Nothing faster than its line speed, and the end of the line is always protected. Reverser -1 with power backs the train once it is standing. The values hold until the next train.control, train.driver, train.speed or train.start. Refused while someone is driving - except "auto": with a driver in the cab it switches on Auto (the train drives itself until they take a lever; refused while the train is still backing); with nobody driving the train runs itself again.

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

What the cab shows, for your own displays. Mode is "driver" or "easy" (someone drives), "auto" (it drives itself with the driver aboard), "script" (train.control) or "timetable" (it runs itself - also once its driver has left it in Auto: power 0, brake 0 and reverser 1 are shown then). While the train backs, the metres of line are the line behind it.

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.signal", [signal name] or [signal name, "green" or "auto"]) Wolf command anyone reads; the owner of the signal guide sets it (the estate owner or a manager for the land's signals)

A signal is a guide described "signal name": every train stops short of it while another train is on the line to the next signal (red); yellow means the next signal is red. A train in the block holds the signal red for as long as it is there, moving or stopped. "green" clears it whatever is on the line - the way past a train left standing, or out when two trains wait for each other - and "auto" puts it back. A block ends at the region's edge. (wolf-rail 1.3.4) At a terminus (train.terminus) its own signals stay red until it has set a route for the train waiting there, and while a route is set every other signal whose line runs onto it is red for every other train; "green" does not clear those - use train.route.

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

For a train with a cab at each end at a dead-end platform: the train is turned round to leave from its other end. The last vehicle becomes the engine, the old engine becomes the last vehicle and the others are in the opposite order, with the same spaces between them. Every vehicle is turned to face the new way (so a cab car or engine that looks different at each end should change its own looks: its script can ask train.info, whose engine key says which vehicle leads now). The train stays stopped, keeping its line speed: train.speed sets it off. Guides only lead one way, so lay a line of guides facing the way out over the platform road. Refused while the train moves, while someone drives it or sits on it, or while any of its vehicles is in another region.

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.

A shunting move: the train runs that way at that speed (at most its line speed; backwards at most 4.5 m/s), calls at no station, stops at red signals and 2 m short of another train, and ends at the stop guide of the place (a guide described "platform name", "siding name", "shed name" or "turntable name", the place's road running on to its "stop"), at a stop guide it meets first, or at the end of the line. Backwards it follows the guides laid the way it backs, with their points as set; where a road has guides one way only it backs along them to the end of the line. It never crosses into another region: it stops before the border. train.speed, train.start or a driver taking the train ends the move.

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

Couples the standing train to your own standing stock on the line ahead (or behind), within 200 m: it runs up to it, slowing to 1 m/s for the last 20 m and 0.6 m/s at the end, stops at the gap and the two become one train under this name. It stops at red signals on the way, except one that is red only because of that stock. Refused when the nearest stock on the line is someone else's (another resident's stock is never coupled to), when that stock moves or is being driven, when either train is partly in another region, when it would pass 32 vehicles, or when a stop guide comes first. With someone driving, the call counts as their press of COUPLE: only with train.driver's "shunt". The answer comes within 2 minutes.

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.

wolfCall("train.route", [terminus], [terminus, route] or [terminus, "cancel", route]) Wolf command anyone lists; the estate owner or an estate manager sets and cancels

The terminus's routes, named "signal>platform" or "signal>west" and so on, with what each is doing. Setting one by hand sets its points and locks them as the terminus does; the first train that comes up to its signal takes it, and it is freed after the time-out if none does. A route is set only when no route it cannot share track with is set, no other train is on it or on its way onto it, and its points are free to move. Cancel frees a route, but not while its train is moving on it or too close to the signal to stop.

wolfCall("train.limits", [] or ["engines", number] and / or ["vehicles", number], or ["default"]) Wolf command anyone reads; only the estate owner or an estate manager sets them

How many trains this region runs at once. Unless changed, 40 engines and 320 vehicles; at most 64 and 512. Kept when the region restarts. Lowering them stops nothing that is already running: no more trains start or come in until there is room (a train arriving at a full region waits at the border and comes in as soon as there is). There is no separate share for each resident.

wolfCall("train.version", []) Wolf command anyone

Which wolf-rail this region runs.

Functions

No description recorded yet.

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

No description recorded yet.

Returns the avatar's key from their first and last name

Plays a given animation on a specified avatar.; No PERMISSION_TRIGGER_ANIMATION check.

Stops playing an animation on a specified avatar

Causes health damage to the specified avatar

Increase health to the specified avatar

Checks if physics engine is legacy ODE and returns 1 ( TRUE ) it is, or 0 ( FALSE ) if not

clears the effect of osSetInertia* functions. Link set total mass, center of mass and inertia will be the values estimated by default from the link set parts.

No description recorded yet.

Sets collision sound to impact_sound with specified volume.

Sends a given console command to the region.; NOTE: There are no security checks with this function. DO NOT USE THIS FUNCTION UNLESS YOU ARE ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING.

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.

Appends an FillEllipse drawing command to the string provided in drawList and returns the result. The filled ellipse is drawn with the current pen size and color, with the specified width and height (in pixels), centered on a point which is (width/2) pixels to the right of the pen's current X position, and (height/2) pixels below the pen's current Y position. After the filled ellipse is drawn, the width and height values are added to the pen's X and Y position, respectively.

Draws a polygon on a dynamic texture, and fills it with the current pen color

Draws a rectangle on a dynamic texture, and fills it with the current pen color

Retrieves a specified image and draws it at the specified height and width

Draws a polygon on a dynamic texture

No description available yet

Renders text on a dynamic texture

Drops an attachment

Drops an attachment at a given position and rotation

Eject the specified avatar from the object's current group

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

Attaches given inventory item to the avatar.; No PERMISSION_ATTACH check.

Attaches given inventory item to a specified avatar.; No PERMISSION_ATTACH check.

Identical to llBreakAllLinks() except that it doesn't require the link permission to be granted. Delinks all prims in the link set.

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.

Drops an attachment without a PERMISSION_ATTACH check

Drops an attachment at a given position and rotation without a PERMISSION_ATTACH check

Forces a sit of targeted avatar onto itself or another Prim

Formats the given string using specified parameters

No description recorded yet.

The agent's IP address - only when the script's owner is a grid administrator; "" for everyone else. To recognise returning visitors or alts use wolfGetAgentIPHash.

Returns a list of all avatars in the current region

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns the Home URI of an avatar

Returns a list with the keys, position, and name of each avatar in the current region

Returns the value of the current region's sun hour

Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text

Returns a string with one of the following values: 'male', 'female', or 'unknown'. This value is determined by the value selected for the avatar shape in the appearance dialog in the user's viewer. If that value cannot be found for any reason (avatar is not in the region, improperly formatted key, etc.), 'unknown' is returned.

Returns the current grid's GridInfo key

Returns the current grid's Gatekeeper URI as a string.

Returns the current grid's HomeURI

Returns the current grid's LoginURI

Returns the current grid's name

Returns the current grid's nickname

Gets the current automatic healing rate in % per second. Default heal rate is now around 0.5% per second. A value of zero can disable automatic heal, current maximum value is 100 % per second.

Return the target avatar's health

Returns list of Intertia Data

Returns the description of inventory item

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.

Returns the link number of the prim or sitting avatar with name 'name' on the link set or -1 if the name is not found.

Returns prim params for the prim specified by link_num

No description recorded yet.

No description recorded yet.

Returns the map texture key for the current region

Returns the full contents of a notecard

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

No description recorded yet.

Returns a strided list of the specified attachment points and the number of attachments on those points

Returns the number of lines in a notecard

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

This function returns a string containing the name and version number of the physics engine.

This function returns a string containing the name of the Physics Engine.

No description recorded yet.

Returns the parameters of a primitive, specified by its key

No description recorded yet.

Returns the map texture key for a specified region

Returns size of region in meters as vector

Returns the current region' statistics

Returns the key of the object's parent object

Returns the name of the script engine running on the current region

Returns the memory in use by the current region

Returns the memory in use in KB by the current region

Returns the current simulator version

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns region's current sun parameters.; Param are: day_length, year_length, day_night_offset, update_interval.

Returns the current region's terrain height as a float at the given coordinates

Gets the value of param property for plugin module.; SimpleRandomWind plugin param is: strength.; ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange.

Invited the specified avatar to the object's current group

No description recorded yet.

Returns 1 if TRUE, 0 if FALSE

Returns 1 if the given string is a valid UUID, 0 if not

Returns the avatar's name from their key

Kicks specified avatar out of the current region

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns the creation date of the current region

Returns the original UUID of the current region

Returns the creation time of the current region

Creates a notecard with contents of list

Returns a list containing the matches from the specified string

Returns the greater of two numbers

Sends a given message to the specified avatar's attachments on the given attachment points

Sends a specified message to an object

Returns the lesser of two numbers

Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything

key osNpcCreate(string firstname, string lastname, vector position, string clone, integer options); Creates an NPC

Returns the avatar key for the target NPC's owner

Returns current position vector of the target NPC

Returns the rotation of the the target NPC

Load the target NPC's appearance from a notecard

Moves the target NPC to a location within the region

Moves the target NPC to a specified location over a period of time

Plays animation on the target NPC

Removes the NPC specified by key npc

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

Target NPC says message on the nearby chat channel

Set about in created NPC's profile.

Set image in created NPC's profile.

Set the rotation of the target NPC

Target NPC shouts message on the nearby chat channel

Makes the target NPC sit on an object

Makes the target NPC stand up

Stops animation being played by the NPC

Stop the target NPC's movement

Makes the target NPC to touch the specified object

Target NPC whispers message on the nearby chat channel

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

Joins two adjacent parcels within the same region

No description recorded yet.

Subdivides a parcel into two adjacent parcels within the same region

No description recorded yet.

No description recorded yet.

Returns 1 if the input string matches the regular expression pattern, returns 0 if not

Sends a region notice throughout the current region

Restarts the current region after a specified amount of time (in seconds)

Requests one HTTPS:// url (opensim version 0.9 or over)

Requests one HTTP:// url (opensim version 0.9 or over)

No description recorded yet.

No description recorded yet.

Sets a content return type for a llRequestUrl()

Renders a dynamically created texture on the prim containing the script and returns the UUID of the newly created texture

Renders a web texture on the prim containing the script and returns the UUID of the newly created texture

Set current estate's sun settings

Sets the font to be used by osDrawText

Sets the font size to be used in osDrawText

Sets the automatic healing rate in % per second. Default heal rate is now around 0.5% per second. A value of zero can disable automatic heal, current maximum value is 100 % per second.

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

Allows creators to set the link set total mass, center of mass and moment of inertia. Moment of inertia will be the one of a box of size boxSize, placed at the center of mass and rotated by rot in the root prim local frame. Call osClearInertia to undo.

Allows creators to set the link set total mass, center of mass and moment of inertia. Moment of inertia will be the one of a cylinder of radius and length, placed at the center of mass and rotated by rot in the root prim local frame. Call osClearInertia to undo.

Allows creators to set the link set total mass, center of mass and moment of inertia. Moment of inertia will be the one of a sphere of radius radius, placed at the center of mass. Call osClearInertia to undo.

No description recorded yet.

Sets parcel details; PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC, PARCEL_DETAILS_OWNER, PARCEL_DETAILS_GROUP, PARCEL_DETAILS_CLAIMDATE are implemented

Set parcel media to a given url

No description recorded yet.

No description recorded yet.

Sets the pen color to be used when drawing dynamic textures

No description recorded yet.

Sets the line thickness to be used when drawing dynamic textures

Set physical object to float at the given water level

Sets the primitive parameters for the given primitive

Adjusts water height in current region

No description recorded yet.

No description recorded yet.

Modify the speed of movement for the given avatar

No description recorded yet.

Sets the current region's sun parameters.; Param are: day_length, year_length, day_night_offset, update_interval.

Sets the current region's terrain height at the given coordinates

Set the terrain texture for the current region to a given texture

Set the terrain texture height for the current region

Sets value of param property for plugin module.; SimpleRandomWind plugin param is: strength.; ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

No description recorded yet.

Teleports an agent to the specified location

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

No description recorded yet.

Updates terrain changes in the grid's database

No description recorded yet.

No description recorded yet.

Returns unix time as a formatted timestamp

No description recorded yet.

No description recorded yet.

No description recorded yet.

Returns active wind plugin name, specified by "wind_plugin" in OpenSim.ini

Returns the absolute (positive) version of Value.

Returns the arc-cosine of Value, in radians.

Add avatar ID to the parcel ban list for the specified number of Hours.\ A value of 0 for Hours will add the agent indefinitely.\ The smallest value that Hours will accept is 0.01; anything smaller will be seen as 0.\ When values that small are used, it seems the function bans in approximately 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds).\ Residents teleporting to a parcel where they are banned will be redirected to a neighbouring parcel.

Add avatar ID to the land pass list, for a duration of Hours.

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

Returns TRUE if the agent is in the Experience and the Experience can run in the current location.

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

Returns the angle, in radians, between rotations Rot1 and Rot2.

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.

Returns the arc-sine, in radians, of Value.

Returns the arc-tangent2 of y, x.

Attach to avatar at point AttachmentPoint.\ Requires the PERMISSION_ATTACH runtime permission.

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.

If an avatar is sitting on the link's sit target, return the avatar's key, NULL_KEY otherwise.\ Returns a key that is the UUID of the user seated on the specified link's prim.

If an avatar is seated on the sit target, returns the avatar's key, otherwise NULL_KEY.\ This only will detect avatars sitting on sit targets defined with llSitTarget.

Returns the rotation represented by coordinate axes Forward, Left, and Up.

Returns the rotation that is a generated Angle about Axis.

Returns an integer that is the Text, Base64 decoded as a big endian integer.\ Returns zero if Text is longer then 8 characters. If Text contains fewer then 6 characters, the return value is unpredictable.

Converts a Base64 string to a conventional string.\ If the conversion creates any unprintable characters, they are converted to question marks.

De-links all prims in the link set (requires permission PERMISSION_CHANGE_LINKS be set).

De-links the prim with the given link number (requires permission PERMISSION_CHANGE_LINKS be set).

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 smallest integer value >= Value.

No description recorded yet.

Resets all camera parameters to default values and turns off scripted camera control.

Clears (deletes) the media and all parameters from the given Face on the linked prim.\ Returns an integer that is a STATUS_* flag, which details the success/failure of the operation.

Clears (deletes) the media and all parameters from the given Face.\ Returns an integer that is a STATUS_* flag which details the success/failure of the operation.

Closes the specified XML-RPC channel.

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

Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.

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).

No description recorded yet.

Returns the cosine of Theta (Theta in radians).

Starts an asychronous transaction to create a key-value pair. Will fail with XP_ERROR_STORAGE_EXCEPTION if the key already exists. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is a two element commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the value passed to the function.

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.

Create a list from a string of comma separated values specified in Text.

Starts an asychronous transaction the request the used and total amount of data allocated for the Experience. The dataserver callback will be executed with the key returned from this call and a string describing the result. The result is commma-delimited list. The first item is an integer specifying if the transaction succeeded (1) or not (0). In the failure case, the second item will be an integer corresponding to one of the XP_ERROR_... constants. In the success case the second item will be the the amount in use and the third item will be the total available.