Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are conditionals? And how do I use them?

conditionals
0
Posted

What are conditionals? And how do I use them?

0

A conditional (or conditional branch) is used to execute different event commands depending on a defined condition. The conditonal is the equivalent of the programming “if” statement. Basically, if the specified condition is true, a certain set of event commands are executed. If the condition is not true, and you’ve checked the “Execute Custom Handler When Condition Not Met” box, a different set of event commands is executed. Some situations in which using a conditional would be appropriate are checking to see if a switch is on, the status of a variable, if a local switch is on, if the player has a certain item… The list goes on. Conditionals are vital to making successful and engaging RPGs. For a more in depth look at conditionals, take a minute and read through this short tutorial.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123