Jump to content

Help with unique AI behaviour


thirteenoranges

Recommended Posts

Right, I have 6 world spaces, and one unique NPC. I wan't the NPC to always be in which ever world space the player is in.

 

I've experimented with the AI packages a fair bit, but can't find a way of getting this to work.

 

Does anyone have any ideas or experience with this?

 

The main way I tried was to have a different package for each location, but since it could be any time, I couldn't find a way to switch the packages when the player changes location. If I set a package condition to the player being in the relevant world space, the package does not stop running when the player leaves the world space, so the next package never runs. At least, this seems to be whats happening. Another option is that it is running as desired, but the NPC just isn't able to teleport between the world spaces unprompted.

 

Any advice here would be appreciated.

Edited by thirteenoranges
Link to comment
Share on other sites

Maybe you need to set up a script to make the NPC teleport to where the player is.

 

Depending on the situation, maybe you could give the NPC a follow player package. Then the NPC would move to whatever worldspace the player was in.

 

What if you had a whole bunch of copies of your NPC and placed one in each worldspace? Would that work?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...