Creation/Dev/Script/Functions/showstats

From Graal Bible
Revision as of 17:26, 26 April 2010 by Adam (talk | contribs) (Created page with 'Category:Scripting Reference ''Clientside'' ''Description'' <p>Used to disable various parts of the games built-in gui.</p> example: <pre> function onCreated() { showstats…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Clientside

Description

Used to disable various parts of the games built-in gui.

example:

function onCreated()
{
  showstats(allstats - 0x20);
}

Disables drawing the hearts in the gui.

Value Description
Value Description 1 ASD
2 Icons (for rupees, bombs, arrows)
4 Rupees count
8 Bombs count
0x10 Arrows count
0x20 Hearts
0x40 Alignment (ap) bar
0x80 Magic points (mp) bar
0x100 - Alt+3) 0x200
Inventory NPCs 0x400
Players 0x800
Right-click on players opens their profile allstats
All of the previously stated stats flags enabled