Triggers

**Triggers** are a group of three special states in the Basic group of the State tab of the Prop Editor. These are:

* Trigger

* Clickable Trigger

* Activate on Load.

Note that the Trigger Linked Script script can be used to activate upto three props and therefore, the scripts on them.

## Trigger

The Trigger State is mainly used with the the Trigger Box\_01 prop to make dancefloors and automatic teleports to a different property or cause movement to different location within the same property. While you can use a Trigger Box as an external clickable invisible switch, you can also set this to **trigger** instead of a clickable trigger on the State tab. This will allow the user upon entering and/or exiting the trigger area to trigger a door from opening or closing when exiting.

You do not need to set any special states for this script if you are using it on a Trigger Box prop. The Trigger state is set automatically for you when you choose the script.

**Note**: You can set at what point a trigger box triggers, this can be either on entering or exiting, by enabling these settings on the trigger linked script.

## Clickable Trigger, Activate on Load and Trigger Linked Script

The following Scripts use of the Clickable Trigger state, the Activate on Load state and the Trigger Linked Script script:

Note too that the Sound: props (aka chimes) also use these features.

### Clickable Trigger

This makes scripts that are attached to a prop interactive by making them clickable.

The switches look like this:  and

This allow you to for example turn on or off lights, start letting an emitter play or disable it, or if you are really creative even switch which emitter is displaying.

To use this script as a switch on a prop, uncheck the Trigger state and check the Clickable Trigger state.

When using this script as a clickable trigger, the Trigger on Enter and Trigger on Exit options do not apply.

Add this to any other prop and use the Trigger Linked Script script, and instead of making it trigger, make it clickable. This allows you to use the prop as a switch, meaning you can turn on lights, open doors remotely, start or stop an emitter and so much more. These props will now also have new mouse cursors to indicate off and on.

**Note:** Script ordering determines which mouse cursors is displayed, if more then one script is attached to a prop then the last script on the prop, will have it’s mouse cursors shown.

### Activate on Load

This determines if the scripts on a prop will initiate when your avatar loads a location. If this is not enabled on a Play Music script, no music will start playing when you enter the location.

Doors, Move Within Bounded Box, emitters, animated textures, Play Music, Play Sound and light scripts are set to Activate on Load when created;

 Bots -
Chromium -
Decorating Guides -
Deco Tools -
Domain -
Prop Editor -
Property -
Props -
Prop States -
Ramps -
Scripts -
Transport -
World Texture Editor -
 Animated Textures -
Audio Add Sound -
Audio Play Music -
Being.Me -
Bots -
Cached Web Image -
Dance Pole -
Door Object -
Lighting -
Move To scripts -
Pickup Object -
Sprites -
Scale Object -
Trigger Linked Script -
Web Browser (Chromium) -
 Animal Props -
Alpha Pine Tree -
Beds -
Breaking Out -
Chairs & Seating -
Doors -
Diving Board -
Dungeon Crosses -
Fire Places -
Floors -
Pole Dance Pole -
Primitive Props -
Lapdance Chairs -
Ramps -
Rope Prop -
Sign 01 -
Tileable Props -
Texture Translucent -
**Triggers** -
VIP Ropes