Simple Prompt

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 Prompt shows a two button prompt in response to an event, and sends events based on the user's response to the prompt.

Parameters

-> Show Prompt The interaction prompt for this object.
Prompt Message Message that shows as the body of the prompt dialog.
Right Button Text to show in the right side button. Set to an empty string to hide this button.
Right Button Click -> Name of the event to send when the right side button is chosen.
Left Button Text to show in the left side button. Set to an empty string to hide this button.
Left Button Click -> Name of the event to send when the left side button is chosen.
-> 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?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.