Wuhay too many posts on storing locations. To top it all off, I noticed on a reread of the thread that Baaleos actually DID mention location storage via string in his first reply.
'>
Anyway, in an effort to get the thread back on track, here's an old compilation of data-getting functions made by Sunjammer some years back, showing which don't work on certain objects (mostly GetResRef). It's out of date, now, since I think some now work that didn't back then, but many should remain accurate.
----------------|------|------|--------|-----
Object | Type | Name | ResRef | Tag
----------------|------|------|--------|-----
Module | 0 | Y | N | Y
Area | 0 | Y | N | Y
Player (PC) | 1 | Y | N | N
Creature | 1 | Y | Y | Y
Item | 2 | Y | Y | Y
Trigger | 4 | Y | Y | Y
Door | 8 | Y | N | Y
Area Of Effect | 16 | N | N | Y*
Waypoint | 32 | Y | N | Y
Placeable | 64 | Y | Y | Y
Merchant | 128 | Y | N | Y
Encounter | 256 | Y | N | Y
----------------|------|------|--------|-----
* an AOE is tagged with the LABEL column from vfx_persistent.2da
If someone wants to spend the time to update it, that'd be handy.
Funky