Table Of Contents

Previous topic

Amount

Next topic

Antiban

This Page

Animation

The Amount include contains all kinds of color related functions to get the animation of NPC’s.

PixelShiftMulti

function PixelShiftMulti(B: TBoxArray; T: Integer): TIntegerArray;

Calculates how many pixels change in boxes B during time T.

Note

by marpis

Example:

PixelShiftMulti

function PixelShiftMulti(B: TBoxArray; T: Integer): TIntegerArray;

Calculates how many pixels change in boxes B during time T.

Note

by marpis

Example:

AnimatingMulti

function AnimatingMulti(B: TBoxArray; Time, MinCount: Integer): TBooleanArray;

Finds constant animation in boxes B during time T. If PixelShift in box is smaller than MinCount, it’s considered not animating. .. note:

by marpis

Example:

Animating

function Animating(B: TBox; Time, MinCount: Integer): Boolean;

Finds constant animation in box B during time T. If PixelShift in box B is smaller than MinCount, it’s considered not animating.

Note

by marpis

Example:

IsMoving

function IsMoving: Boolean;

Results true if character is moving.

Note

by marpis

Example: