Functions

int Data int Script int CSet int Delay float X float Y float Vx float Vy float Ax float Ay bool Flags[] int TileWidth int TileHeight int EffectWidth int EffectHeight int Link float InitD[] float Misc[]
Back to Top
Pages: Global | FFC | Link | Screen | Item | Weapon | Itemdata | Game | NPC | std | string

FFC Functions and Variables Documentation

Functions and Properties

Return Type Function Information
intData
The number of the combo associated with this FFC.
intScript
The number of the script assigned to the FFC. This will be automatically
set to 0 when the FFC's script halts. A script cannot change the script of
the FFC running it; in other words, f->Script is read-only when f==this.
When an FFC's script is changed, its arguments, Misc[], and registers will
all be set to 0, and it will start running from the beginning. Set
ffc->InitD[] after setting the script before the script starts running
to pass arguments to it.
intCSet
The cset of the FFC.
intDelay
The FFC's animation delay, in frames.
floatX
The FFC's X position on the screen.
floatY
The FFC's Y position on the screen.
floatVx
The FFC's velocity's X-component.
floatVy
The FFC's velocity's Y-component.
floatAx
The FFC's acceleration's X-component.
floatAy
The FFC's acceleration's Y-component.
boolFlags[]
The FFC's set of flags. Use the FFCF_ constants in std.zh as the
index to access a particular flag.
intTileWidth
The number of tile columns composing the FFC.
intTileHeight
The number of tile rows composing the FFC.
intEffectWidth
The width of the area of effect of the combo associated with the FFC
in pixels.
intEffectHeight
The height of the area of effect of the combo associated with the FFC
in pixels.
intLink
The number of the FFC linked to by this FFC.
floatInitD[]
The original values of the FFC's 8 D input values as they are stored in
the .qst file, regardless of whether they have been modified by ZScript.
floatMisc[]
An array of 16 miscellaneous variables for you to use as you please.
These variables are not saved with the ffc.