Actions on interaction click
You need to own this item to leave a rating.
Basic script for EASYSCRIPT collection, permits to play a sound or send a message or multiple messages (on a specific channel) to other scripts, with a click.
HOW TO USE:
Insert this script inside an object
PARAMETERS TO SET:
-[HOVERTEXT]: Set a hovertext for interaction(if not leave blank)
-[OUT CHANNEL]: Channel used to send messages.If 0, messages will appear in local chat
-[ON CLICK]: Set a message to send on first click.
-[ON SECOND CLICK]: If not blank, this is a second message sent after second click (for example for systems ON/OFF)
-[IDLE TIME] Time of idleness of script, after clicked
-[RANDOM MESSAGES]: if ON, message are sent random every click. For multiple messages, remember to separate them with a comma.
-[AUDIO FILE]: Add an optional sound played on trigger volume
-[LOUDNESS]: loudness of audio file
-[PITCH]: pitch of audio file
-[SPATIALIZED AUDIO]: If ON, sound plays in audio component(if exists), or at click position, else if OFF, it plays in the entire scene.
-[OVERLAP SOUNDS]: If ON, sound is played even if previous sound is still playing.
-[SSCOMPATIBLE]: If on, script is compatible with Simple scripts, and send messages to Simple scripts.
I used it in my experience here:
[FIND MY OTHER SCRIPT SEARCHING BY TAG "easyscript"]
★ If you like this item, please support me giving a rate!