Jump to content
Sign in to follow this  
majorexperimental

Possible to let AI-units have several different waypoint paths?

Recommended Posts

Hello! A question; Is it possible to let a AI-unit have several different waypoint paths with where each path has it's own trigger. This would be useful when the unit should be sent to a specific area at trigger release. Is this possible?

Share this post


Link to post
Share on other sites

Naa... I dont want to spam the map with more troops.

Another solution would be if the idle AI-unit could be directed to the area where the trigger was released (sort of a guard-alarm-concept)...

Share this post


Link to post
Share on other sites

make guy 4 - 5 (or more or less) place to go then put cycle waypoint on map then AI will able to move thoose places again

---------- Post added at 12:54 PM ---------- Previous post was at 12:53 PM ----------

make waypoint 4 - 5 (or more or less) place to go then put cycle waypoint on map then AI will able to move thoose places again

Share this post


Link to post
Share on other sites

and your other solution u need script for that and i dont know how to script arma 3 i only know how to script at arma 1 arma 2 and ofp

Share this post


Link to post
Share on other sites

You could make a funktion that gets the triggername as a argument.

Then you use getPosATL for the trigger position and set your units to moveTo or doMove to that position.

E: Scripting did not change in Arma 3, there are just some new Commands that has been added ;)

Share this post


Link to post
Share on other sites

OK lets do this (MAY NOT WORK)

Place a trigger

init for trigger:

_way1 = execVM "waypoint1.sqf";

place like a file or something where you want them to move call it way1

waypoint1.sqf:

GROUPNAME doMove getMarkerPos "way1";

then rinse and repeat but this may not work, it is off the top of my head

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×