#NPC_Zombine not running to position

1 messages · Page 1 of 1 (latest)

sturdy turtle
#

I've set up an aiscripted_schedule and set the goal entity path to "Set enemy to Goal Entity AND Run to Goal Entity", with AI state to set "Set state to COMBAT", but the Zombine still won't run to position. What can I do to make the NPC run to my set path_corner?

#

The Zombine NPC is spawned through an npc_template_maker

keen birch
#

the map needs nodes

sturdy turtle
#

I already have nodes

#

The NPC spawns at the info_npc_spawn_destination, then it gets started by the aiscripted_schedule to run towards the path_corner linked to another towards the door, the aiscripted_schedule is already forcing the templated npc spawning to be at angry combat state, and to run to the goal_entity but it doesn't want to run

#

I know that the Zombine NPC has the sprinting function towards player if alerted, but the combat state supercedes the alerted state

keen birch
#

maybe it's because you're using a path
try just an info_target instead

sturdy turtle
#

Semi-solved? Apparently the A.I. may only sprint if it has seen the player, or if it is undergoing a scripted sequence, and I don't think a scripted sequence is good for this one, so the npc just walks to the location instead

#

I've also changed the info_target into an assault_assaultpoint instead