Interesting, but I'm not sure we've covered it.
These aren't PCs, these are NPC henchmen. They spawn into specific areas when the module starts, so they aren't (as far as I know) in any sort of transition state.
So, when the module loads, most of them are in "Traveler's Tower" and two are in "Temple of Kernunos." But GetName(GetArea()) lists them as all being in "DM Office."
Then, after I move them all to "Hill Fort" the same code lists them as being in Hill Fort. But only after I manually move them.
I don't know if this is significant, but "DM Office" is listed as being the second area in my module's list of areas. That might make it Area ID 001 or something similar, right?
(All my areas do have unique tags and no default resrefs, BTW.)
---
I put in that one (commented-out) line to make sure I was actually getting the henchman objects, and it does seem to work fine:
// AssignCommand(oHench, ActionJumpToLocation(GetLocation(oUser)) );
Is there any similar brute-force way to see what object GetArea() is actually returning?
---
Any further thoughts?
Modifié par BCH, 07 février 2013 - 03:20 .