Jump to content

Photo

Quest Alias Multiple Dynamic Allocation

ai dynamic nearby citizens

  • Please log in to reply
1 reply to this topic

#1
fluffyrandomeow

fluffyrandomeow

    Stranger

  • Members
  • Pip
  • 5 posts

I am working on creating a quest that will help me manage the AI of nearby aliases in the quest based on what the player is doing. I haven't been able to figure out how to get all nearby actors that are not guards or bandits and what have you.

 

I don't want to have a huge list of specific references because that will destroy the game's performance, but I want to be able to do something like get all nearby guards in the current loaded area and make them flee by changing their ai packages because I have my bow fully drawn.

 

I am able to do all of that, except for getting all of the nearby actors. Thank you for taking your time to read this.



#2
foamyesque

foamyesque

    Old hand

  • Members
  • PipPipPip
  • 830 posts

You should be able to create a set of, say, ten aliases, and set them to fill by condition, looking only in the loaded area and starting from the matches closest to the player. Because you don't know how many this might apply to, they should all be flagged as optional, otherwise the quest will not start.







Also tagged with one or more of these keywords: ai, dynamic, nearby, citizens

Page loaded in: 0.984 seconds