Hearts: Difference between revisions
From Graal Bible
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:General]] | |||
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 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. | 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 19: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.