More Modding question: is there a way for me to make/get a specific person who works at a particular place (not your own business, if I assign business somehow my poly's mvoes there as employees)? GetPersonHere() may get guests and I don't seem to be able to find in Docs anything to assign people's place of work (and then I have to figure out assigning work at current location if available)
There isn't any documents for your problem. Because only the AI distributes the npcs 1. current location, 2. work location, 3. and where's living (home). (And the ai will fill nearby places with permanent npcs. It happens too when you visit far places at first time).
If you take the ownership of a business after that you can hire contacts to work there (fixing they 'work' loc), so that npc workplace changing to your business (addEmployee(Salary) cmd will do anything) until you fire them and the AI begin redistribute to elsewhere (same way if you reset the npc's location in the contacts, that's what is undocumented).
The "GetPersonHere()" is working without optional bool (true/false for the permanent/temp npcs) and the only really usable purpose is to count the ai distributed npc number at the current location. If you read through the command description in the Mods folder, you can find this in the example.
But if it work:
workerworkloc = worker.getBuilding(work)
...then maybe this one too (it's a fiction):
currentloc = Player.getBuilding(current)
"DEBUG: currentloc value is <currentloc>"
Actor.setBuilding(work, currentloc)
or Actor.setActorVar(work, currentloc)