8: Set up your Victory and Defeat conditions
An RPG can't really be lost, but let's break codes here! We want Players to win when gathering the last reward, but also to loose if they die!
Select your NPC B, and in Drop Component > Collect Message, put a non-used Message (i.e: KEY)
- Go inside the Global Parameters
- Go in the "Controller" tab
- Click on "ADD COMPONENT" and select the Victory Component
- In "Victory Message", put the same as the Collect Message.
Quit the Global Parameters, press play, and watch the Magic happening once you've gathered the final reward!

The Defeat is already there! If the Player dies, then it is a Game Over!
There we are! Press play and enjoy your first RPG Experience!
You're now able to create deeper RPGs with a lot more content inside!
Last modified 2yr ago