![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
A scene formation structure. More...
#include <BattleSceneFile.h>
Public Attributes | |
u16 | id |
Enemy ID. More... | |
int | x |
Enemy X position. More... | |
int | y |
Enemy Y position. More... | |
int | z |
Enemy Z position. More... | |
u16 | row |
Enemy row. More... | |
u16 | cover_flags |
Binary "Cover Flags". More... | |
u32 | flags |
Initial condition flags. More... | |
A scene formation structure.
u16 BattleSceneFile::Scene::Formation::cover_flags |
Binary "Cover Flags".
These flags are used in conjunction with row to determine if a target can be selected as the target of a short-range attack. The determination of this is worked out in this way: An enemy exists in row 1 and another in row 2. If the enemy in row 1 shares a cover flag with the enemy in row 2 then the enemy in row 2 cannot be targeted until all enemies in row 1 that share a cover flag with the row 2 enemy is defeated. It works like this. Two active enemies exist, A and B.
If ((B's row > A's row) and (B's cover flags AND A's cover flags) > 0) then enemy B cannot be targeted by short-range attacks.
u32 BattleSceneFile::Scene::Formation::flags |
Initial condition flags.
Only last 5 bits are considered. 0x0001 Visible. 0x0002 Indicates initial direction facing if players get a side attack. 0x0004 Unknown. 0x0008 Targetable. 0x0010 Main Script Active.
int BattleSceneFile::Scene::Formation::x |
Enemy X position.
int BattleSceneFile::Scene::Formation::y |
Enemy Y position.
int BattleSceneFile::Scene::Formation::z |
Enemy Z position.