Skip to Content
The Alchemy Project

struct BATTLE_PRESENTATION_STATE

A presentation's effect command, laid out as BATTLE_EFFECT_PARM with a ninth actor, and the animation state it keeps.

Declared in battle_camera.h.

Fields

NameDescription
Sint32kindthe effect's index in the handler table
Sint32side1 when the targets are the party, 0 for enemies
Sint32actorthe user's unit id
Sint32firstTargetthe action's first target
Sint32rangeas BATTLE_EFFECT_PARM's: the action's, or 1
Sint32counttargets in actors
Sint32variantthe ability's size, from 0
Sint32preludeas BATTLE_EFFECT_PARM's: 1 plays a prelude
Uint8unused [4]no code names it
Sint16actors [9]the targets' unit ids, count of them
Uint8params [8][4]each target's animation entries' param, kept

Description

A presentation's effect command, laid out as BATTLE_EFFECT_PARM with a ninth actor, and the animation state it keeps.

struct BATTLE_PRESENTATION_STATE

Referenced by btAutoBattleRunApproachAttack(), btAutoBattleRunAttackOrItem(), btAutoBattleRunPsynergy(), btElementGlowPlay(), btMotionCallBeast(), btPlayFormChange(), btStagingBuildTargetList(), btStagingRunAttack(), btStagingRunFullScreen(), btStagingRunItem(), btStagingRunPsynergyCast() and btTransitionRun().

Definition at line 62 of file battle_camera.h.

Fields in detail

kind

Sint32 kind

the effect's index in the handler table

side

Sint32 side

1 when the targets are the party, 0 for enemies

actor

Sint32 actor

the user's unit id

firstTarget

Sint32 firstTarget

the action's first target

range

Sint32 range

as BATTLE_EFFECT_PARM's: the action's, or 1

count

Sint32 count

targets in actors

variant

Sint32 variant

the ability's size, from 0

prelude

Sint32 prelude

as BATTLE_EFFECT_PARM's: 1 plays a prelude

unused

Uint8 unused[4]

no code names it

actors

Sint16 actors[9]

the targets' unit ids, count of them

params

Uint8 params[8][4]

each target's animation entries' param, kept