Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
Events are custom WHEN statements. They require a Trigger that defines what causes it to happen and a Trigger for what happens when it has triggered.
Creating an Event[edit | edit source]
Events can be created from the Scene Data view. From this view you have two options:
Using an Event[edit | edit source]
Events take a few pieces to put together properly. Since an event doesn't do anything by itself, it needs the help of triggers to make it useful. In this case we need:
- An Event
- A Triggering Statement
- A Triggered Statement
Triggering Statement[edit | edit source]
Your triggering statement is a trigger that has the Send Event do statement:
Send out the Game Event (USER EVENT)
Whatever conditions come before are used to indicate when you want your event to be triggered. You may also use Send Event After Delay if there would be timing involved.
Triggered Statement[edit | edit source]
Your triggered statement is another trigger that uses the event as its when statement:
Otherwise, it acts the same as any other trigger you would create. Since all it takes is putting the event in the when statement of a trigger, you may have as many triggered statements as you like off of a single event.
Tutorials[edit | edit source]
How To Simulate a Thunderstorm - Using events to trigger weather effects