GetHUD

From King Arthur's Gold Wiki
Revision as of 19:08, 22 August 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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();  }	
}