Simple Collisions

This is a trigger Simple Script. It allows an object, through some interaction with a user, to trigger a response from a responder Simple Script in the same scene.

For an overview of Simple Scripts, see Simple Scripts user guide.

Details

Simple Collisions sends events when something collides with the object the script is in. It works with trigger volumes as well as normal objects.

Parameters

On Agent Collide -> The name of the event to send when an avatar bumps the object. For trigger volumes, this is sent when an avatar enters the volume.
On Agent Exit -> (Trigger volumes only) The event to send when an avatar leaves the trigger volume.
On Object Collide -> The name of the event to send when an object bumps the scripted object. For trigger volumes, this is sent when an object enters the volume.
On Object Exit -> (Trigger volumes only) The name of the event to send when an object leaves the trigger volume.
Max Events Per Second Maximum number of events per second that can trigger events. Range: 0-100.
-> Enable When this message is received, the script begins responding to events.
-> Disable When this message is received, the script stops responding to events.
Start Enabled

If on, this script responds to events when the scene is loaded. If off, the script will not respond to events until an -> Enable event is received.

Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.