Hearts: Difference between revisions

From Graal Bible
No edit summary
 
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
A graal predefined object; This variable contains the amount of "those yin-yang things" that a player has. It is accessed with the [[gscript]] variable "playerhearts."
[[Category:General]]
==Hearts and the Player==
A graal predefined object; This variable contains the amount of "those yin-yang things" that a player has. It is accessed with the [[gscript]] variable "playerhearts" or to determine another player's hearts, "players[''index''].hearts."
 
==Hearts and the NPC==
The amount of hearts (defaults to 0) that an [[NPC]] has. It is accessed by "hearts" by itself, or "npcs[''index''].hearts" for another NPC's hearts.

Latest revision as of 20:16, 19 February 2010

Hearts and the Player

A graal predefined object; This variable contains the amount of "those yin-yang things" that a player has. It is accessed with the gscript variable "playerhearts" or to determine another player's hearts, "players[index].hearts."

Hearts and the NPC

The amount of hearts (defaults to 0) that an NPC has. It is accessed by "hearts" by itself, or "npcs[index].hearts" for another NPC's hearts.