I am trying to get some NPCs to make a loop through several areas, and then back to start.
The NPC will make it through several areas before getting 'hung up' right before transitioning through a door. The NPC moves to the side of the door and stops. I had some transitions to different areas that were flawless, and some the NPC walks to a random spot(not a waypoint), before turning back to the waypoints.
Is this a scripting problem or a problem in my toolset?
Walkways across areas
Débuté par
PreyingMantis
, avril 02 2011 07:24
#1
Posté 02 avril 2011 - 07:24
#2
Posté 02 avril 2011 - 07:27
If I remember correctly you need to set the NPCs AI setting higher. If it's not high enough they won't open doors.
#3
Posté 02 avril 2011 - 07:59
The NPC does pass through several other doors before stopping at this one.
I was wondering if it has to do with the location of the waypoint in the next area? I put a waypoint on each side of the transition, but was wondering if maybe the coordinates of the waypoint in the next area are causing the NPC to move away from door transition and miss going through it.
And by the NPCs AI, are you talking about just boosting the Intelligence ability on the NPCs character sheet? Or is there a different AI for NPCs?
I was wondering if it has to do with the location of the waypoint in the next area? I put a waypoint on each side of the transition, but was wondering if maybe the coordinates of the waypoint in the next area are causing the NPC to move away from door transition and miss going through it.
And by the NPCs AI, are you talking about just boosting the Intelligence ability on the NPCs character sheet? Or is there a different AI for NPCs?
#4
Posté 02 avril 2011 - 11:29
#5
Posté 02 avril 2011 - 03:27
Thanks for the link Lightfoot. Next question, where does the script gor the AI go? I was looking on my NPC for it.. is it in the Userdefined or Onspawned?
#6
Posté 02 avril 2011 - 08:54
Okay, found the AI for the NPC and turned it up to HIGH, but NPC still won't transition to a certain area. He has transitioned through 5 other areas before this one, but just won't open the door and go in.
The problem door was originally locked, but he had the key-so I changed it to unlocked and still same problem.
The door was a custom door and not a standard toolet door-so I replaced it with a standard unlocked door(just like 3 of the other transitions the NPC has already made), and still same problem.
I shortened up the trip, and the # of waypoints, making this transition the second one and still same problem.
Does anyone know if crossing areas for NPCs might have anything to do with the actual 'coordinates' of the waypoints in both areas?
The problem door was originally locked, but he had the key-so I changed it to unlocked and still same problem.
The door was a custom door and not a standard toolet door-so I replaced it with a standard unlocked door(just like 3 of the other transitions the NPC has already made), and still same problem.
I shortened up the trip, and the # of waypoints, making this transition the second one and still same problem.
Does anyone know if crossing areas for NPCs might have anything to do with the actual 'coordinates' of the waypoints in both areas?
#7
Posté 04 avril 2011 - 05:31
Thanks, I got it figured out.





Retour en haut






