GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
Loading...
Searching...
No Matches
HUD

Drawn by the engine's own UI; slots pack per corner. More...

Enumerations

enum  { SH_HUD_TOPLEFT = 0 , SH_HUD_TOPRIGHT , SH_HUD_BOTTOMLEFT , SH_HUD_BOTTOMRIGHT }

Functions

SH_API uint32_t ShHudCreate (const char *name, int anchor, int priority)
 Register a line.
SH_API int ShHudSet (uint32_t hud, const char *text)
 Text may hold newlines.
SH_API int ShHudColour (uint32_t hud, uint32_t rgb)
SH_API int ShHudShow (uint32_t hud, int visible)
SH_API void ShHudDestroy (uint32_t hud)

Detailed Description

Drawn by the engine's own UI; slots pack per corner.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SH_HUD_TOPLEFT 
SH_HUD_TOPRIGHT 
SH_HUD_BOTTOMLEFT 
SH_HUD_BOTTOMRIGHT 

Function Documentation

◆ ShHudCreate()

SH_API uint32_t ShHudCreate ( const char * name,
int anchor,
int priority )

Register a line.

Lower priority sits nearer the edge.

◆ ShHudSet()

SH_API int ShHudSet ( uint32_t hud,
const char * text )

Text may hold newlines.

Empty text hides the slot.

◆ ShHudColour()

SH_API int ShHudColour ( uint32_t hud,
uint32_t rgb )

◆ ShHudShow()

SH_API int ShHudShow ( uint32_t hud,
int visible )

◆ ShHudDestroy()

SH_API void ShHudDestroy ( uint32_t hud)