Post by aliasz on Nov 5, 2022 11:35:41 GMT
I have this very simple setup scene.
AIspawner. spawns 12 soldiers.
have setup the way points and the arrows in the right moving direction.
have setup that max time to stay is 0.1 and max visitors is 0.
also tried different number like stay 1 and max visitors 1
What im trying to do: is that the spawner spawns soldiers and they just walk/move along the line of the 4 way points, and stay in the
fifth to fight there. 5th waypoint time to stay 12/max visitors 12
Anyway the waypoints script just wont work, on its own.
till i also setup the spawn destinations.
there i drop in sequentially the spawn points. and it sees it as nodes.
then they do walk and the first one still stays in the first spawn point. the second spawned soldier
still stays in the second way-point. and etc.
i just want all of the spawned soldiers just walk the line of the waypoints.
and stay and fight in the fifth waypoint.
have setup the navmesh
could use some help in setting this up.
the above pic show how i setup the waypoints in the right tab
the above pic show how i setup the spawnpoints in the right tab, otherwise the waypoint
doesnt do anything. yes i have dropped the waypoint in my AIspawner
I also tried in my spawned soldier.control AI Shooter/Waypoints to setup the way points. there
dropped in the samewaypoints. but spawner does nothing yet spawn and they stay idle.
I also tried to follow the documentation on this.
Made an empty transform thus gameobject. and put the
script waypoint area setup the waypoint, edit the vector.
disabled the FSM, and put the delay to enable the FSM
they dont do anything.
ANYWAY it seems to only work with spawn destinations and put in the nodes in order.
if i dont do that nothing happens with the waypoints.
ps: note I have the latest updated scripts
vShooterCoverAddon_v0.8/TPC_Shooter_v2.6.2a./FSM_AI_v1.1.8a
vShooterCoverAddon_v0.8/TPC_Shooter_v2.6.2a./FSM_AI_v1.1.8a