Enemy Formations

Enemy Formations

Database.EnemyFormations

Enemy Formations are used to define combat encounters in your game, using the built-in battle system. They are made up of groups of Enemies in your database.

Enemy Formations can have custom music, be randomized, and have as many Enemies as your viewport will fit.

There are no limitations on the number of Enemy Formations in your game.

Properties

Name Explanation Type
Name The name of the Enemy Formations. String
Use Custom Music Whether or not to use custom music during the battle. Toggle
Music The custom music to play during battle. Music
Sample Background The sample background to display the formation on in the editor. This setting is not saved and is only for preview purposes in the editor. Background
Sample Seed The Enemy Formations seed to use in the preview. Number
Preview Battle Overlay Whether or not to include the battle overlay in the preview Toggle
Is Escapable Whether or not the Enemy Formations can be escaped. Toggle
Uses Random Table Whether or not the Enemy Formations is created from a table. Toggle
Escape Chance The chance to escape. Number
Auto-Name Generates a name for the Formation based on the current Enemies.

Enemy Members

System

Name Explanation Type
Name The name of the Enemy Formations. String
Reference Minimum Rank The minimum rank to randomly set the Enemy at. Number
Reference Maximum Rank The maximum rank to randomly set the Enemy at. Number

Ranks

Name Explanation Type
Random Rank Minimum The minimum rank to randomly set the Enemy at. Number
Random Rank Maximum The maximum rank to randomly set the Enemy at. Number
Rank The rank of the Enemy to use. Number or Global Variable
Use Random Rank Whether or not to randomly set the rank of the Enemy. Toggle

Positioning

Name Explanation Type
X The x coordinate to adjust the Enemy position by. Number
Y The y coordinate to adjust the Enemy position by. Number
Z The z coordinate to adjust the Enemy position by. Number