The dialog and button show, but I can't figure out how to make the button run a trigger or command.
I found another trigger which does it, but it shows outside the dialog and is a different color of the dialog. This trigger: "Dialog - Display button 1 of size (200, 60) with text "Camera 1" at Top Left of screen with offset (50, 150) (run cameraset when button is clicked)"
How can I make the button that shows inside the dialog to run a trigger?
Here's my trigger so far:
The dialog and button show, but I can't figure out how to make the button run a trigger or command.
I found another trigger which does it, but it shows outside the dialog and is a different color of the dialog. This trigger: "Dialog - Display button 1 of size (200, 60) with text "Camera 1" at Top Left of screen with offset (50, 150) (run cameraset when button is clicked)"
How can I make the button that shows inside the dialog to run a trigger?
You need to save your button to a global variable. then make a new trigger
" Dialog - Any Dialog Item is used by Player Any Player with event type Clicked"
Then in the condition, "" (Used dialog item) == Value 2"
Your trigger actions.
@dre__: Go
Edit:
Molsterr was a bit faster... :)
wow so many steps. I got it working though thanks a lot fellas.