4 : Units

Holds information about units (foe, ally, npc, ...).

Every unit is defined by its links to its class, default stats, additive stats, AI scripts, and also its own properties such as name, equipment, drops, steals, poaches, and much more.

Even though the data of a unit defined in this section is supposed to be unique, it can still be used to spawn multiple units in a location that all share the same properties.

Units are spawned via the main script file of a .ebp file. Its status effects, spawn position, re/spawn behaviour, etc. is all defined in a script entry. Its stats, model, equipment, AI, drops, steals, etc. is all defined in this section and then linked to via their script entry, specifically the function btlAtelSetUnit(x) where as the x equals the entry identifier of a unit in this section.

Last updated