by Sledge

This is a tutorial intended to teach some basics of S & R usage. Rather than teach exclusively by specific example, the aim of this guide is to go over briefly the different functions of the Act/React system so that, in theory, you can generalize to get the results that you want. This assumes basic knowledge of DromEd and assumes you have some knowledge of the working within the Object Hierarchy and saving the gamesys. There are several examples at the bottom to get you started once you get past all of the technical stuff.

Special thanks to d0om for answering a couple of my questions on the more elusive receptrons.



Meta Properties are properties in Thief which have two advantages over what you would normally call "properties." Firstly, Meta Properties can be added and removed a little bit easier and more directly than normal properties. Secondly, a Meta Property can actually be a group of properties put together. This is advantageous because it may save time by assigning an Object a meta property (which contains a group of properties) rather than having to add 6 individual properties to this Object.

You can view a list of the existing Meta Properties in the Object Hierarchy. Open up the Object Hierarchy, then from the drag menu at the top, switch from Archetypes to Meta Properties. Here is a list of all of the Meta Properties used by LGS. To add a new one, click "Add" as you would in adding any other object. Then, assign this new Meta Property its own properties just as you would if you were assigning these properties to a normal object. It will probably be helpful to you to take a look at the existing Meta Properties and see what types of things they do. Some Meta Properties, such as FrobInert, contain only a single property, while others, such as M-PosedCorpse contain half a dozen. S & R can at times rely heavily on Meta Properties so it's useful to know how to use them. However, don't limit yourself to using Meta Properties alone.


Receptrons refer to properties in a strange manner. To see how they are referenced, go to the command window and type in list_props. Then look for a file in your Thief 2 folder called list_props. This has a list of all of the properties and how you can refer to them in a receptron.


The player becomes an object once the game begins. However, S & R can only affect objects existing at the time its effects are created. In other words, it's difficult to affect Garrett directly with a receptron. There are different methods for getting around this, however.

The first method is to use a conversation. In a conversation, choose an action (such as Add Meta Property) and for the target object type "Player" (no quotes).

The second method is to put a receptron directly on "Garrett" in the object hierarchy and save your gamesys. Find the object "Garrett" in the Object Hierarchy and have a look at it. There are already receptrons in place here, and you can add whatever new ones you like. Note that "Player" is a specific representation of the generalized "Garrett" that manifests once the game actually begins (ie: you go into game mode in DromEd).


There are all different kinds of techniques for using S & R, so don't limit yourself. Remember that you have such useful objects as Emitter Traps, Markers, AI, and Conversations which can enhance your usage of S & R and can help you solve some difficult problems.


A "source" is in a sense a signal. A "receptron" receives a specific signal and creates an effect when it receives that signal.

Open up the Object Hierarchy. Click on the Drag menu and select Act/React Stimuli. Here is a list of all of the sources which LGS used for the Thief games. Notice that some of these sources are "categories." Naturally, anything under a given category is a subclass of that category. For example, a Weaponstim is a general stim (and can be used by itself) while a Bashstim is a specific type of Weaponstim. Here are some definitions, in case they are not self-explanatory:

  • Weaponstim: Any weapon has this, including swords, arrows, hammers etc. This will damage AI, the player, and objects.
  • Pokestim: Broadhead Arrows have this.
  • BugPoke: Insects have this.
  • Slashstim: Specific to a sword.
  • Bashstim: Blunt weapons such as a blackjack or a Mechanist mace have this.
  • Pingstim: This is new to Thief 2. It has something to do with Garrett's scouting orb, I believe.
  • Water: Water arrows have these, as does any "water" in Thief
  • Fire: Fires, and fire arrows. Causes damage to the player, AI, wooden objects, and lights torches.
  • Touch: I believe this has to do with contact with terrain brushes.
  • Holy: Holy Water Arrows have this. Damages undead.
  • Knockout: A blackjack has this.
  • Restore: Healing potions have this, as does healing fruit.
  • KOGas: Gas arrows.
  • MagicZapStim: Wizard and trap zaps.
  • LightBright: From flashbombs.
  • Toxic: Poisonous gas.
  • Stench: From a burrick's maw.
  • Earthstim: From an eartharrow.

    When doing your own effects, it is best to create an entirely new source or "stim." Click on Stimulus in this part of the Object Hierarchy and click "Add." Type in the name of whatever stim you like. Then, save the gamesys AND the mission you're working on. You have to re-open your mission for this particular change to take effect (dunno why). Make sure you have set the gamesys in your mission (set_gamesys x.gam) before you save and re-open the mission. If you have a new stim to use, whatever new effects you create will in no way affect anything else in the game.


    Click on an object in your mission and go to its properties. Go to Act/React > Sources. You will now be presented with a window which is blank. This is just a window which will display all of the sources for this object. To add a new one, click "Add." Now you have a new window.


  • bject: In this blank, you always type in the number of the object it is that you're working on. Why LGS never bothered to fill this in automatically I'm not sure.

  • Stimulus: This is the stim you will be using. For most things, you will want to choose your own custom stim. From the drag down menu, select the name of a stim. If you added one previously (see above) and saved your gamesys and re-opened your mission, your new stim should appear at the bottom of this menu.

  • Propogator: This is how the stimulus is distributed. For Contact, this means that the object will stim another object every time those objects collide in game. Contact stims are useful for things like arrows. An arrow wouldn't hurt you if you stood next to it... you would have to collide with it. A Radius propogator means that the object sends out the stim across a radius (in a sphere around the object) at an interval of time that you specify (see below). A Flow Propogator means that the stim is specific to flow brushes. In this case, for example, lava has a Firestim source with a Flow Propogation. In order to create lava, you need a flow brush over top of a water brush (see tutorials on water). Whenever you step inside this flow brush, you will be Firestimmed, so to speak. A Firestim hurts Garrett, so whenever you step in lava you take damage. A Script propogator means that the stimulus occurs through a script. It is rare that this is used, since writing new scripts for Thief and Thief 2 have proved difficult. But as an example, a healing potion has a RestoreStim which only goes off when Garrett drinks it. That is a scripted event (although you can change the specifics of it if you wanted).

  • Intensity: The numerical severity of the stim. You change this to suit your needs. Many of the existing stims use logical numbers. A Restorestim of 1 heals Garrett 1 point. A Slashstim of 2 would hurt Garrett 2 points, etc.


    This box is on the right side of your source window. Click on it once you have specified everything else. This box, as well as the EDIT LIFE CYCLE box change depending on what you have specified for the Propogator. I will list each below based upon what you have chosen.

  • Contact: There is a box where you can select Contact Types. Most of the time, Collision is sufficient. Occasionally, you may find the other options useful. Many of the other options are specifically useful in relation to the player. Frob in Inventory and Frob in World of course mean that Garrett uses something by clicking the Use button either when the object is in the world, or in his inventory. If, for example, you had a potion set inside of a burning fire, you could give the potion a Firestim that was activated through Contact when it is Frobbed in World. Then, Garrett would be burned when he tried to grab it, and would take damage equal to that of the Intensity in the previous window. The velocity coefficient is almost always 0, but I think is the minimum velocity of the object needed for the stim to take effect (although I could be wrong). Likewise, I believe the Frob Time Coefficient is the time that occurs between the time when you frob an object (if this is specified above as Frob in Inventory or Frob in World) and when you receive this stim.

  • Radius: The first box indicates, in feet, how far the stim travels. For Flags, you can either check Line of Sight, which means that terrain blocks the stim, or None, which means that the stim travels through terrain (solid brushes). For Dispersion, None means that the source stims everything within its radius equally, according to the Intensity which you have specified. Linear Dispersion means that the source is of the Intensity that you specify at the center of the object, but gets increasingly weaker as it travels outwards, ending at 0 at the Radius which you specified above. Inverse Quadratic is the opposite, meaning that the specified Intensity stims as such at the edge of the Radius and gets weaker as it gets towards the center of the object.

  • Flow: There is no shape to a Flow. You are either within the flow, or you are not. (For example, your foot is in the lava or it is not. There is no "half-way" into the lava.)

  • Script: There is no shape to a Script. The Script either activates, or it does not. (For example, you can't drink half of a healing potion in Thief.)


    This, in a sense, is the "time" factor of the stim. This is the other box at the right side of the window. Like EDIT SHAPE, it varies with the Propogator, so I will again break it down.

  • Contact: There is no cycle to Contact. If you have "contact" with something once, you receive the stim exactly once.

  • Radius: The Flags box indicates some characteristics about how often the stim fires. No Max Firings means that the stimulus goes off over and over with no end. Destroy Object on Completion does just that after the object has reached it's Max Firings (provided you did not check No Max Firings). Period means how OFTEN the stimulus fires, in milliseconds. A Period of 5000 means the stim fires once every 5 seconds. A period of 50 means the stim fires 20 times every second. Max Firings is the number of times the stim fires before it stops firing. If you checked No Max Firings above, then type in 0. If not, then type in the number of times you want the stim to fire. Note that the stim will begin firing IMMEDIATELY when you start the game or when this object is "created" from the Object Hierarchy in game. Intensity Slope allows you to increase the interval of the Intensity of the stim. If I want a marker to fire a stim of 10, then after waiting a few seconds fire off a stim of 15, I would make the Intensity of this source 10, but then give it an Intensity Slope of 5. You can make this number positive or negative.

  • Flow: The information in this EDIT CYCLE box should be identical to that of Radius. However, under all but the weirdest of circumstances, you would probably want to leave most of these at the defaults.

  • Script: Again, these options are basically identical to that of a Radius.


    Receptrons are the effects which are receptive to the stims. I'll go through these effect by effect. To start out with, click on an object and add Act/React > Receptrons. Now, there is window which will list all of the receptrons for that object once you add them. Click "Add."

    The Object is the number of the object you are working on. The Stimulus is the stim which you want the current receptron to respond to. Min and max Intensity is the interval of sensitivity for the receptron. It is possible to have a ton of different effects using only one type of stim if you make the sensitivity interval very small for each time the stim is used (try taking a look at all of the different effects in Rogue's Honor that were created with a totalitystim). Now for the complicated part, the Effects.

  • Abort: This means that a stim will no longer have any effect on the current object. Say for instance you are making lots of guards in a mansion. You want one guard who is tough and cannot be knocked out. You would put a receptron on him for KOGas or a Knockout stim and set the effect to Abort.

  • Add Meta Property: This adds a Meta Property to an object. The Meta Property must be in the Object Hierarchy (see above). When you select this, you'll be presented with two more options. Target Object should be the name of the object you want to receive the Meta Property (in theory), Agent Object is the name of the Meta Property itself. However, this particular receptron is a little buggy. Although the Target Object should be the name of the object to receive the Meta Property, for some reason it is always "Me." The object with the receptron is always the one to receive it, no matter what you put in the Target Object box. However, there is a way around this problem (see the final example at the bottom of this tutorial).

  • Amplify: This will increase the effect of the stim. The Edit Effect allows you to specify how much you want to increase or decrease the stim. Say for example, you had a guard with a really tough head, but you wanted him to bleed when cut as normal. You could give him a receptron for a Bashstim which had the effect Amplify set to Multiply by .5, meaning he would take only half damage from blunt objects.

  • Awareness Filter: This filters out the awareness of an AI. Set the target object to that of an AI and then edit the effect to your liking. This cancels the awareness of the AI if one of the circumstances under Edit Effect is true.

  • Change Object Model: This changes the model of the target object to that which you specify under "Edit Effect." To find the right model, find the object in the Object Hierarchy which has the look you want, then look at the Shape > Model Name.

  • Clone Properties: If you have an object and you want it to inherit all of the properties of another object, put the target object in (the one that's to be changed) and the agent object in (the one that has the properties you want).

  • Create Object: This will create an object of your choosing. The Target Object is the object which is to be created (select an archetypal object from the Object Hierarchy). The Agent Object is the location in which this object will be created. The Agent Object must be an object in the world which you have already created. The Edit Effect allows you to specify how far away from the Agent Object the Target Object object will be created.

  • Damage Object: Delivers damage to the Target Object. The Edit Effect allows you to specify how much damage. If you choose "multiply" by a number, it multiplies the intensity of the stim the object with the receptron is receiving. Therefore, if you have a specific number in mind, perhaps it is best to multiply by 0 and then simply add this number. If you'd like the damage to be stimulus-specific (for example you wanted to damage an AI by fire as opposed to a slash), check the Use as Stimulus Type box. The Damage Type is actually a code for specifying the stimulus. A weaponstim is 1 and every subsequent stim is one number higher (for example, pokestim is 2, bugpoke is 3, etc.).

  • Destroy Object: Destroys the target object utterly.

  • EnvSound: Not sure about this one...

  • Freeze AI: Freezes an AI for the duration you specify. This is a weird one.

  • Frob Object: Frobs the target object.

  • Impact Result: I believe this is used to indicate the result of collision when an object with a Contact Propogation stim collides with the object with the receptron.

  • Knockout: Knocks out a Target Object AI.

  • None: Don't select this or DromEd will crash. This is a bug and shouldn't be here.

    Permeate into Container: Use on a container to affect all of the objects contained by the container.

  • Poke Object: This one is pretty useless. Same as Damage Object basically.

  • Remove Meta Property: Removes a Meta Property. Target object is the object which has the Meta Property, Agent Object is the name of the Meta Property itself.

  • Remove Property: Removes a property from a Target Object. Be sure you call the property by the right name. See above (under Properties at the top of this document) for how to get a list of properties referenced by receptrons.

  • Send to Scripts: This one will probably not be used too much by FM designers. This basically activates specific scripts when the object receives a certain stim. Torches, for example, are sent to scripts when they receive fire or water stims. Torches are activated and deactivated in part by the script Extinguishable.

  • Set Property: A very useful one for complicated effects. This effect seems to work better than Add or Remove Meta Property under certain circumstances. What this does is changes the a property of the Target Object to BE THE SAME AS the property of the Agent Object. Therefore, at least one object in your level must have the property you want to change. Under Edit Effect, type in the name of the property you want to be changed (again, see above for how to get a list of properties that receptrons recognize). So the property of the Agent Object is copied to that of the Target Object.

  • Set Quest Variable: You can use this if you do not want to use a Quest Variable Trap. Type in a line at the top to be equal to that of the 2nd half of an objective statement, such as goal_state_0 or goal_visible_5 etc. (the number indicates the number of the goal, see the convict document for details on objectives). Then, specify what you are doing to this goal (adding, dividing, etc.) and type in a number to indicate by how much you are adding, dividing by, etc. I recommend using the Search function at the ttlg forums, as quest variables and quest variable traps have been discussed quite a bit.

  • Slay Object: "Kills" the target object without destroying it. Using this against an AI would make him crumple and fall down, while if you used "Destroy Object" (see above) he would disappear from existence.

  • Stimulate Object: If you want to relay a stimulus to another object (Target Object), you would use this effect. Type the name of the stimulus in under Edit Effect and specify how much you would like to stimulate this object by. Multiplying simply multiplies the intensity of the stim which this current receptron is receiving and relays it (although the type of stim can be completely different).

  • Teleport Object: Teleports the Target Object to the center of the Agent Object. You can edit how far away from the Agent Object the Target Object goes under Edit Effect. Pitch, Heading, and Bank are factors of rotation, not distance.

  • Tweq Control: Adds or adjusts a Tweq property to the Target Object. Tweq Effects are quite complicated, so you probably want to fool with them first before trying out this receptron effect. Listing all of the Tweq effects is unfortunately beyond the scope of this tutorial, but the official docs cover them pretty well. I believe they are listed in the document called "Object School."

  • Weak Point: Allows one to target a specific point on an object and amplify a stim. The robot boilers are a weak point for waterstims, for example, although hitting a robot on the head with a water arrow would do nothing. Anything within the radius specified is multiplied by the multiplier. Have a look at the robots to see how this works. Essentially, the guys at LGS created a "sphere" around the back of the robot boilers. If a water arrow hits this sphere, then the waterstim is increased greatly and the robot reacts by malfunctioning.

  • Weapon Block: Doesn't seem to work..

  • Weapon Hit: Doesn't seem to work.

    FUN WITH S & R

    Let's do a few trial effects just to get you more comfortable with the system. We'll start simple.

    All of the following assume you have a few roomed air brushes with gen and convict loaded, and that there is a marker with a PlayerFactory. This also assumes you have given the player a sword and some arrows.

    Yes, this is a cheesy one (and even I've used this being the cheeseball that I am), but a fun one. We only need to fool with the source on this one. Undead already have a vulnerability to a HolyStim.

    Create a sword and give it to Garrett. Click on the sword's properties and give it a source.

    Select Stimulus > Holystim. Propogator Contact. Intensity (and you can change the power of this) to 2. Edit the Shape. Leave Collision and also select Weapon Swing Low.

    That will give the sword a default holy power of 2, which is fairly weak. Let's make it a little more complicated.

    Go back in and give the sword a second stim. Make it a Holystim with Propogator Contact. Now set the intensity to 4. Go into Edit Shape. Now choose Weapon Swing Mid.

    You see where this is going?

    Give the sword a third stim, only this time set the intensity to 6 and select Weapon Swing High. Now you have a sword that damages undead a small amount when you give them a back swing, a moderate amount when you give them a forward swing, and a lot when you give them an overhead chop. Now make some zombies and watch them splatter.


    The previous exercise used a source. Let's try some receptrons.

    Create a metal door somewhere in your room. Stick it in front of a passage if you like. Lock it.

    Wooden doors you can break down if you hack them enough with your sword, but metal doors are strong and stalwart. Let's change that. Open up the door's properties and go to Act/React > Receptrons. Click "Add." Fill out the fields so that the object is the door's number, the Stimulus is SlashStim (remember this is what a sword has), and no min or max Intensity. Now go over to Effect. Pull down Slay Object. Check Target Object as "me" and Agent Object as "source."

    Now go in game. Chop the door once with your sword. Presto! It opens for you.

    Let's try something else. Go back and add another receptron to the metal door. This time, make the Stimulus Pokestim (this is what broadheads have). Have no min or max intensity. For the Effect, put in Destroy Object. Target Object is "me."

    Now go in game and shoot the door with your bow. A magic a disappearing door!


    Delete the last door you made (in the previous exercise) and create 2 new metal doors, side by side. I'll refer to them as Door #1 and Door #2. Doesn't matter which is which.

    Go to Door #1 and open up it's properties. Add a receptron. For the Stimulus, put in Pokestim, and have no min or max Intensity. For the Effect, put in Frob Object. For the Target Object, put in the number of Door #2.

    Now go in game. Shooting an arrow at Door #1 should open Door #2, and shooting it again should close it.

    Let's make this practical. Create a button and place it somewhere close to the doors. Now create an EmitterTrap. Place the EmitterTrap so that it is facing Door #1 and is right in front of it. If you're not sure which direction is which, you'll know very shortly. Now add a ControlDevice link from your button to the EmitterTrap. Go in game, and frob the button. An arrow should fire from the EmitterTrap into Door #1 and then Door #2 should open. If the arrow fires in the wrong direction, simply go back into DromEd and rotate the EmitterTrap 180 degrees.

    You may have noticed one problem, however. The EmitterTrap only works once. We can solve that by going to the EmitterTrap's properties and going to S > Scripts. In the second box (where it says Script1) type in "ReloadTweqEmit" (no quotes).

    You should have a single button which opens and closes a door for you!


    Let's try some stuff with AI guys. Delete both of your doors (from the previous exercise) and create a new metal door right in front of your emitter trap. Now create a guard somewhere in your room. Make the guard blind and deaf by going to his properties and going to AI > Attributes > Vision and AI > Attributes > Hearing and setting them both to Null. Now create a TrolPoint in the AI and another one some distance away. Link the TrolPoints together with a ~AIPatrol and an AIPatrol link (as per the DromEd Basic Tutorial). However, don't add any more properties to the guard.

    We're going to be using some properties in a receptron, so as suggested at the beginning of this document, go the DromEd command window and type in list_props. Now search in your Thief2 folder for a file called list_props. Open it up in Notepad and save it as a txt file. Now, we want the guard to be able to patrol. We know the name of the normal property (Does Patrol). Go to Find in Notepad and type in "Does Patrol." It should take you down to an entry that looks like this: AI: Ability Settings\Patrol: Does patrol = AI_Patrol. The part we're interested in is the part to the right of the equals sign, AI_Patrol. Remember this.

    Now in DromEd, the button from the previous exercise should still go to the EmitterTrap. Make sure that is still the case. When you press it, an arrow should fire into your new door. Go to the door's properties and add a receptron. Make it for Pokestim again with no min or max intensity. For the effect, choose Set Property. For the Target Object, type in the number of your guard. For the Agent Object, choose "me." Now go to Edit Effect. Type in exactly "AI_Patrol" (no quotes).

    Are you wondering why you chose "me" for the Agent Object? What you are doing essentially is copying one property from "me" (the door) to the guard. However, the door does not yet have the property (AI_Patrol) that you specified. We'll fix that.

    Open up the door's properties and click Add > AI > Ability Settings > Patrol: Does Patrol and then check the box so it registers as TRUE. It doesn't matter that the door is not an AI… for the purposes of Set Property, the property is there.

    Now go in game and frob the button. An arrow should fire into the door, and then the guard should start patrolling.


    Now let's make that guard mean. Go to the door's properties and delete the AI Patrol. Then add this: AI > Attributes > Vision and AI > Attributes > Hearing and set both to Above Average. Now go to the door's receptrons and delete the receptron you had in there before. Add a new one. Set it up as normal for Pokestim with no min or max Intensity. Set the Effect for Set Property with Target Object as your guard and Agent Object as "me" again. However, this time there will be a different Edit Effect. Go to Edit Effect and type in AI_Hearing (you'll find this in the list_props document). Now add a 2nd receptron set up exactly the same as the first, with the one exception being the Edit Effect. On this second receptron, change the edit effect to AI_Vision.

    Now go in game and frob the button. Your blind and deaf guard will suddenly become very mean.


    Let's combine everything you've learned so far to make easy auto-frob signs. Up until now, you've been working with concrete, pre-existing stims of the contact variety. No longer.

    Delete everything from the previous exercises in your mini-level. Create 3 signs and place them fairly far away from one another inside. It doesn't matter what the signs are, but you'll find them in the Object Hierarchy under Decorative > Sign. For each sign, give them the following properties:

    First off, add S> Scripts and type "StdBook" (no quotes) in the first line. Then, add Engine Features > Frob Info and set WorldAction to Script AND FocusScript. Now add Book > Text. Type in the name of a text that you have in your books folder (see the tutorial on books if you don't know how to create one). In short, create a folder called "books" in your Thief 2 folder and a folder inside this one called "English". In the "English" folder place your book str files. You'll need 3 of them, one for each sign. I'll call mine sign1, sign2, and sign3. So anyway, what you add for each sign under Book > Text is the name of the book str file you want associated with it.

    Now from here, you should be able to go in game. Try frobbing one of your signs. You should see text appear at the top of your screen just as if you were reading a plaque. Make sure this first step works before moving on. Again, see tutorials on books if you haven't covered them yet.

    Now, go into the Object Hierarchy and drag the top menu down from Archetypes to Act/React Stimuli. Hilight Stimulus and then click "Add." Type in the name of a new stimulus. I'll call mine signstim.

    Now close out of the Object Hierarchy. In the command window, type:

    set_gamesys sign.gam

    Now, save your gamesys as sign.gam into your Thief2 folder. Now save your mission also (pick a name).

    RE-OPEN your mission. You should see sign.gam indicated in the lower left corner of the editor, and everything should still be in place. You should still have three signs that are set to read like a book when frobbed.

    Now create a marker. Click on the marker's properties and go to Act/React > Sources. Add a source. For the stimulus, select your custom stim, the one I called signstim. It should appear at the bottom of the list. If it does not, then you probably did something wrong in the previous steps.

    For Propogator, select Radius. For Intensity, choose a number that you like. I'll pick 10.

    Now go to Edit Shape. You want the radius to be small, but not too small. Let's set it to 2. For Flags, check None; you don't want this stim limited by terrain. For Dispersion, click None; you want the same intensity present over the entire 2 foot radius.

    Now go to Edit Life Cycle. Check No Max Firings under Flags. Make sure both Max Firings and Intensity Slope are set to 0. Now for period, you want something fairly small. Let's say 500. That means the stim will fire twice every second. If you have a lot of radial stims going off in your level at small intervals, you can really affect frame rate in a bad way. However, it should be perfectly all right to have a few moderate stims going off an any one time. This one will be going off constantly, but shouldn't hurt things at all by itself.

    Now exit out of the marker's properties and go click on one of your sign's properties. Add a receptron. For the Stimulus, select your custom stim (signstim). Set the min and max Intensity appropriately. Because I chose an Intensity of 10 for my stim (above), I would probably set min to 9 and max to 11.

    Now for the effect. Choose Frob Object with the Target Object being "me."

    Add a second receptron to this sign. Set it up identically to the first, only this time for an effect choose Teleport Object. For the Target Object, type in the number of the marker on which you put the stim. For the Agent Object, choose "me." Now go to Edit Effect. Heading and Pitch and Bank are not important, but Position is. What you want to do is teleport the marker somewhere very far away. I'll set mine to have a Z value of 200. That means the marker will be teleported 200 feet straight up from the center of the sign. The reason for this is so that the sign does not continue frobbing itself. If that were the case, the sign would be frobbed every 500 milliseconds and the text would never go away!

    Okay, one final step. Create a Teleport Trap and place it right next to your sign, or right in your sign (it must be less than two feet from the center of the sign). Now, create a ControlDevice link from the Teleport Trap to the marker with the stim. Now, create a ControlDevice link from the sign to the Teleport Trap.

    For each of the signs, repeat this process.

    Now your auto-frob signs should work. This is what happens: When you look at the sign, the FocusScript triggers the Teleport Trap. The Teleport Trap teleports in the marker with the stim. The stim will go off. The receptron on the sign will receive the stim. This receptron will simultaneously frob the sign itself and will teleport the marker far up into space. The next time you look at the sign, the same thing will happen. This is a clean and repeatable system that can be used for any number of signs you like. This technique uses one extra object per sign (the Teleport Trap) but is not difficult to set up once you get the hang of it. Remember that you do not need a new marker for each sign. You use the same marker and specify this marker on the receptron of each sign that you add.


    Okay, say you want to add a Meta Property to an object, but are concerned about the bug (see the beginning of this doc). Make a custom stim of some sort (follow the steps outlined above). I'll call mine metastim.

    Say for a moment you have a guard standing in a room, and when you get to a certain point, you want him to start looking around and searching for you. This is done with a Meta Property called Searcher.

    Create a guard in a room. Place a Bounds Trigger in an area where the player will go (remember if you only want it to be triggered by the player, Add Physics > Misc > AI Collides With = False). Now create a metal door and an emitter trap somewhere that the player cannot see or hear. Link the Bounds Trigger to the Emitter Trap via a ControlDevice link (as above). When the player crosses the Bounds Trigger, an arrow should fire from the Emitter Trap into the door.

    Now open up the door's properties and add a receptron to it. As above, add one for a Pokestim with no min and max Intensity. Now, ordinarily, you would select Add Meta Property, but we cannot do that because of the bug. Instead, click on Stimulate Object. For the Target Object, select the number of the guard. For Edit Effect, type in metastim (or whatever you called your custom stim). Select Multiply by 0, then for Add, choose an arbitrary number. I'll choose 10. Remember this number.

    Now go to your guard. Click on Properties and add a receptron. Make this receptron for metastim (or your custom stim) with a min and max intensity just outside of what you selected before on the door. Because I chose 10 for the Stimulate Object previously, I would probably choose 9 and 11 for the current receptron. Now, for the Effect, choose Add Meta Property. Target Object is Me (although it really doesn't matter what object you type in), Agent Object is "Searcher" (no quotes).

    In game, when you cross the Bounds Trigger, an arrow should fire into the door. The door should stimulate the guard, and then the guard should start searching. You could use any Meta Property you like for the guard. If you wanted him to start patrolling, for instance, you would use M-DoesPatrol instead of Searcher. But this should give you a way around the Meta Property bug.


    Remember, be creative and always double check your work. If you can generalize these concepts, almost anything is possible!

    Travel to: Go Back / (home)