Jump to content

Check if an AI Package is Complete


ProjectEW

Recommended Posts

I'm sure this is the same for Fallout 3, but as I'm using the New Vegas GECK, I thought I should post it here. How would you check if an NPC has completed an AI Package that day? As in, is there any way to put that in the condition of another AI Package? Maybe a better way to explain is to tell you what I want to achieve, because maybe there's an easier method of doing this.

 

Here it is: I have a schedule for some soldiers, so that they sleep from 10 P.M. to 9 A.M. and guard the area from 9 A.M. to 10 P.M. But I have a barracks and an outpost, so I need the soldiers to travel to the barracks to sleep at 10 P.M., then, at 9 A.M., travel to the outpost to guard. So I use Travel packages to go to and from the outpost and barracks. But I want to put in the condition of the Travel package to check if the sleep/guard package has already been completed.

 

Any help guys?

Link to comment
Share on other sites

Is it even necessary to see if the package has been completed? I think the NPC would be smart enough to travel there on its own. If it has to guard someplace, when its time to guard the npc will automatically move there (i assume) you wont need to tell him to go with a package in between.
Link to comment
Share on other sites

OK, first of all, NPC != Smart. Anyway, I've tried that, but sometimes they just wander around for hours after the time has come to sleep. Thanks for your help, though.

EDIT: After a bit of research, it seems that it will travel to within the guard radius, but that method doesn't seem to work for sleeping. So, I still need help.

Link to comment
Share on other sites

If they just wonder around maybe you have another package set, or the ai package isnt set to must complete. among other flags. If the NPC only has 2 packages, and both are set to must complete. Their should be no wandering around. Sounds like theirs a 3ed or more package letting them sandbox and ignore their other packages.
Link to comment
Share on other sites

If they just wonder around maybe you have another package set, or the ai package isnt set to must complete. among other flags. If the NPC only has 2 packages, and both are set to must complete. Their should be no wandering around. Sounds like theirs a 3ed or more package letting them sandbox and ignore their other packages.

 

i just read about this, so it's not like that

basically, every package is made of several procedures

so if he finished the first procedure, and not getting a new package, the NPC will do other procedures from his AI package

at least, that's what i understood from what i read

Link to comment
Share on other sites

  • Recently Browsing   0 members

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