2 Amazing Things to Do With Conditional Buttons


QUICK TIPS | 2 AMAZING THINGS TO DO WITH CONDITIONAL BUTTONS
Conditional buttons are probably one of our most versatile device tools that we have access to! That is because when using a Conditional Button device, specific items must be carried in order for the device to work. This works by using an if-then-else statement, a common conditional construct in coding. If you don't use conditional buttons as often as you should, then let me tell you just a few ways you can implement them into your projects today!
Here's Two Ways to Use a Conditional Button in your Creative Map!
1 | USE THEM TO DISPLAY ITEMS If you are building a store, then you might consider using conditional buttons. Have them double as registers, that display the item and the cost for those items. It's a great alternative to using the vending machines, or an item spawner!
2 | USE THEM AS CONDITIONALS FOR ITEMS/AREAS
Conditional buttons are great if you have objectives that require certain items in your game. If the player does not have the item, the player will not be able to proceed to the next objective. When the player approaches the conditional button, it will check to see if it has the item by automatically checking the player's inventory. If the player does not have the item, the button will not be able to send an event, and if the player has the item, then the button will be able to send an event!
Another way you can use them is by connecting them to mutator zones to allow access to areas depending on what a player has. Let's say you have an RPG game, where a player must obtain an item in a POI that's west of the POI that allows them to proceed to the next level. When they visit the place they need to go, and then pass through that mutator zone, it will send an event to the conditional button to check to see if the player has the item. If they have it, they pass and can go to the next level. If they do not, then you can set up the conditional button to transport them out the area and then display a message: You can not pass without this "item".
SUPER HANDY DEVICE
Conditional buttons are super handy devices and can be used in a variety of mechanic workflows from simple to complex. No matter how you use them, they can provide a unique element to your game that could positively impact your player's experience.
If these tips helped you, We'd love to hear it! Feel free to share it with everyone in the community in the FCHQ DISCORD!

.
Comments
You must be logged in to comment.