Triggersin the Game Systems side bar menu.
Add Triggerbutton in the top right corner, and name your trigger. Since we plan to have many areas in our game world, we are going to use a naming system that is easy to expand on. This trigger will be called
zoneA_area1as that is what the area will be called in the game editor. Once you have named your Trigger, click
Saveto save it.
Add Rewardto bring up the select Asset model. Instead of selecting an Asset as normal, I will use the
Set a Scorefield to enter the XP I would like to grant to the player when the Trigger is triggered. Once you have entered the amount, click
Save Score Onlyto save and continue.
Trigger Timessection, and entering
1into the field. This will make sure that the Trigger can only be triggered once.