Table of Contents
Rest Area
Idea: This feature can be used for RPG Map or other types
Finished product
Creating area
Trigger
Step 1 - To active a trigger, we need an event to identify and trigger the action
Step 2 - After create the event, we are going to identify the rest area
Step 3 - Create a boolean value to identify when the player enters or leaves the rest area. We will have two values is true and false.You can also use the value variable. You will create two variables and set two different values for them (example: 1 and 2, 0 and 1,etc.) then, it will have the same usage as boolean value.
Step 4 - As mentioned above, we have two values: true and false. We will check whether the value is true. If it is true, we will add health or other items for the player Then, we will going to add repeat … until statement, we will level up the HP until the player leaves rest area. But if player's HP greater than or equal to player's max HP, we won't upgrade Now, we will check the player's HP to see whether they level up or not If it can satisfy all the conditions, the action will be triggered And we need to make the loop breaks in 1 second. (Or you can change the time following your map) Step 5 - We will do the remaining case: the player leaves rest area
Step 6 - Causes boolean value will be false
Step 7 - Full of triggers. This is the official trigger!
If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord