NWNX/nwnx2-linux — pull request #15 by niv (2014-02-17 18:00:05+00:00)
Title: plugins/chat: GetActualGameObjectForPC()

This returns the actual game object for a player character (a object in
the range 0x7f000001 -> 0x7fffffff); for example a familiar or DM-possessed
creature. You can think of this as the reverse of GetMaster() for possessed
creatures.

Example usage: iterating players with GetFirst/NextPC() and finding the actual
controlled creature.