Procedures

Procedures are used by events to invoke actions. Area Triggers use procedures when a player moves in or out of them. Switches use procedures when they are activated or deactivated. Combat behaviors use them to determine what AIs do during combat. Quests run procedures while they are active. Each procedure can have multiple lines. Each line has a requirement to tested. The default is the requirement is empty which means the true actions are always invoked. If the requirement tests false then the actions Actions if false are called instead. If the actions are not set then nothing is done.

Each line is called a Decision. Decisions are processed from the top down so there are buttons to move selected decisions up or down to changing the processing order.

This example shows a procedure attached to a switch's on activate event that will change the door state of a door called "Special Door" to Open. This will cause the door to open.