GetHUD

From King Arthur's Gold Wiki
Jump to: navigation, search

Returns a reference to the CHUD object.

CHUD@ getHUD()

Example from Entities/Characters/Scripts/ArcherLogic.as:

void ManageCursors( CBlob@ this )
{
  // set cursor
  if (this.isMyPlayer())
  {
    if (getHUD().hasButtons())      getHUD().SetDefaultCursor();  }	
}