Lookup Player Account ID
LookupPlayerAccountID(characterName as String) as ID
- Name of player to search for
Takes a character name, and returns the ID that would reference the appropriate _playerAccount root node.
This function can be used for a player that is not in the current Area, or is not logged in.
Note: This function does cause a database hit, so should be used sparingly.
char as ID char = LookupPlayerAccountID("HJ-Archaegeo")