Proximity Activator

This component is used to trigger an event when an avatar walks within the range of the object.

Fields

Ignore Owner

If checked it will ignore owner.

Client Only

check to set script to client only

Minimum Distance

Sets the minimum distance for activation

Maximum Distance

Sets the Max distance for activation

Event Activate

Activates the function when avatar comes within the range.

Event Deactivate

Deactivates the function when avatar is out of range.

Usage

This can be used to open/Close doors. Activate deactivate particle effects. Auto light the interior of a house etc.

Trigger Ignore Owner: If checked this script will ignore owner. i.e not will happen if owner is within the rage.

Trigger client only if checked the effect will only trigger on client side. i.e triggered effect won't be shown to all avatars present in the regions. (better performance in certain cases.)

Distance Set the closest and farthest area of activation. Eg: If min is set to 0 and max to 1. it will activate when any avatar is within 1 meter of the object. If min distance is set to 5 and max to 10, it will only activate when avatar is between 5 and 10 meters of the object.

Events Activate Click the add sign then drag the item to be activated when avatar is within the range here. Then select what function should be activated. Eg: Particle system function select start. You can click on add to add multiple items and select function for each.

Events Deactivate Click the add sign then drag the item to be deactivated when avatar is out of the range here. Then select what function should be activated. Eg: Particle system function select start. You can click on add to add multiple items and select function for each.

Last updated

Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.