1
0
EQ2Emu/docs/lua_functions/GetShardCharID.md
2025-05-14 09:46:52 -04:00

430 B
Raw Blame History

Function: GetShardCharID(ShardID)

Description: Given a spirit shards ID, returns the character ID of the player who owns that shard.

Parameters:

ShardID: Int32  The shards unique ID.

Returns: Int32 The character ID of the player to whom the shard belongs.

Example:

-- Example usage (identify which player a shard belongs to, perhaps for a shard recovery NPC) local ownerCharID = GetShardCharID(shardSpawnID)