evrymetul Posted December 12, 2017 Share Posted December 12, 2017 (edited) Is there anyway to restart an Ai package after it is interrupted by combat? The package I made works, but after combat, the npc stays still. Its a patrol package with an infinite duration that sequentially finds a flora to travel to, and repeats itself after completing the package. Edited December 12, 2017 by evrymetul Link to comment Share on other sites More sharing options...
JobVanDam Posted December 14, 2017 Share Posted December 14, 2017 Combat is considered an interrupt package, so the game stops the NPC's normal package to enter combat. Like with guards, they enter combat with a hostile then go right back to their patrol. Something else may be wrong with your packages.I'm not sure if it's important but are the flora's RefIDs persistent? I think for a package to work properly the target has to be persistent. Link to comment Share on other sites More sharing options...
evrymetul Posted December 15, 2017 Author Share Posted December 15, 2017 It happens to be anything that the TargetSelector considers flora. That's an interesting point, is there anyway to make random objects become persistent right as they are selected? Link to comment Share on other sites More sharing options...
JobVanDam Posted December 15, 2017 Share Posted December 15, 2017 I think it always has to be persistent. Packages can't make things persistent. Why not put an persistent XMarker at each of these flora? If it's a vanilla town you might have to make patches but if it's a new town you don't have to worry about anything. Link to comment Share on other sites More sharing options...
evrymetul Posted December 16, 2017 Author Share Posted December 16, 2017 Most exterior creatures use this package, I don't think I can make every flora in the game persistent. Link to comment Share on other sites More sharing options...
JobVanDam Posted December 18, 2017 Share Posted December 18, 2017 You would have to make a quest so it searches the area for "flora" (however you can find that, I'm not sure), makes it an alias, adds a package to the NPC to then TravelTo this flora marker. I think. Link to comment Share on other sites More sharing options...
Recommended Posts