» Mon Nov 19, 2012 11:24 am
What I am trying to do is have an NPC schedule where during the day, he is on one level of a castle, sitting on a throne, and eating at various points (in world Space A), and at night he goes to sleep in world space C, going back and forth every day. In order to get from worldspace A to C, he needs to go through World Space B. All of these are interior worldspaces, with navmesh all made up.
I can get him to do whatever I want when the current trigger is telling him to do something in his starting worldspace (ive tried both A and C), but as soon as the package starts to get him to travel to another worldspace and do something there, he freezes up. Then continues correctly as soon as the package tells him to do something in the editor worldspace.
For instance, If I start him in worldspace A (the bottom floor/throne room/ dining room), He correctly goes into the dining room at 8 to eat, go back out into the throneroom and sits on the throne from 9-1900, then eats at 1900. When the package tells him to go upstairs at 2000, he freezes for however long the trigger lasts for. If I set the trigger to only last for an hour, then he starts to sandbox, but if the trigger lasts for 11 hours, he stands still the whole time. If I place him upstairs in the editor, he sleeps correctly, but during the day he stands still, but sleeps at night.
Maybe there is some way I do not know about to get NPCs to go between worldspaces and continue on the other side. I think the references and such are all correct, because wherever I place him, he does what he is supposed to do in that space. I wouldn't think it would be complicated, as almost all NPCs in the game travel between worldspaces regularly, to travel in and out of buildings, but I could be wrong. Thanks!