HitSplats¶
Find and read hitsplats on the screen.
At the moment only your hitsplats are supported, tinted ones by other players or NPCs are not.
EHitSplat¶
EHitSplat = enum(BLUE, RED, MAX);
Enum representing the main hitsplat colors.
THitSplat¶
Hitsplat record that holds the methods used to find hitsplats.
THitSplat.Find¶
function THitSplat.Find(out splats: THitSplatArray; areas: TBoxArray): Boolean; static;
function THitSplat.Find(out splats: THitSplatArray; areas: TPolygonArray): Boolean; static; overload;
function THitSplat.Find(out splats: THitSplatArray; areas: TCuboidArray): Boolean; static; overload;
function THitSplat.Find(out splats: THitSplatArray): Boolean; static; overload;
Attempts to find hitsplats on the given area a TColorFinder.
If area is not specified, MainScreen Bounds are used.
The function returns true if we find at least one hitsplat and found splats are
returned via splats.