Fullhearts: Difference between revisions
From Graal Bible
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<h3>Hearts and the player</h3> | <h3>Hearts and the player</h3> | ||
The total amount of hearts (the predefined hearts object) that the player can have at one time. It is accessed with [[gscript]] variable "playerfullhearts" or to determine another player's, "players[''index''].fullhearts." | The total amount of hearts (the predefined hearts object) that the player can have at one time. It is accessed with [[gscript]] variable "playerfullhearts" or to determine another player's, "players[''index''].fullhearts." | ||
<h3>Hearts and the NPC</h3> | |||
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. |
Revision as of 21:51, 1 November 2004
Hearts and the player
The total amount of hearts (the predefined hearts object) that the player can have at one time. It is accessed with gscript variable "playerfullhearts" or to determine another player's, "players[index].fullhearts."
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.