ville said: There's a lesson I never thought I'd learn, don't reference characters in the game by name, or if you do, make sure they're not the player. This is why a lot of games (like Elder Scrolls titles, for instance) refer to an internal ID value instead of the name shown to the user; for one thing, it avoids events like that (the player's ID would be "player" regardless of name), and for another, it makes for easier localization if you don't have to translate every reference to a character's name in scripts as well as in dialogue.
I only mention this because I'm currently working on a pseudo-scripting-language and quickly discovered such a need for ID values.
|