Fullhearts: Difference between revisions
From Graal Bible
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<h3>Hearts and the NPC</h3> | <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'' | 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:52, 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.