CameraChick

A3XAI: AI Drawn to Fires ?

8 posts in this topic

I am only using A3XAI on my server and I am wondering if it is possible to have AI attracted to fires that are lit?

Say, if AI are wandering the wilderness and there is a lit fire within 500 meters, they will run right to it and investigate. Is this possible?

 

In A3XAI_startHunting.sqf I see:

_targetPos = getPosATL _targetPlayer;
if ((isPlayer _targetPlayer) && {(vehicle _targetPlayer) isKindOf "Land"}) then....

Maybe I can change the player aspect to a fire?

Edited by CameraChick
1 person likes this

Share this post


Link to post
Share on other sites

Starting to mess with the UAV patrols to see if they will detect the object "Campfire_burning_F".

Notice where I added it:

_nearbyUnits = _targetPos nearEntities [["LandVehicle",PLAYER_UNITS,"Campfire_burning_F"],TRANSMIT_RANGE_RADIO_HUNTER];

If anyone has any thoughts or suggestions or just feels like confirming that I am absolutely clueless here, I am all ears. =P

Share this post


Link to post
Share on other sites
Advertisement

Sounds like a REALLY nice feature, I will see what I can come up with and post back if I get it to work.

1 person likes this

Share this post


Link to post
Share on other sites

I have tried this a few ways. Does not seem to work yet. I will keep trying until I figure it out. I ALWAYS Win. LOL

2 people like this

Share this post


Link to post
Share on other sites
14 minutes ago, gmctyphoon92 said:

I have tried this a few ways. Does not seem to work yet. I will keep trying until I figure it out. I ALWAYS Win. LOL

LOL. Now THAT'S the type of attitude we need around here!! :)

 

Share this post


Link to post
Share on other sites
On 3/9/2016 at 6:31 PM, gmctyphoon92 said:

LOL   I live my life this way. I HATE failure.

I'm watching this thread. Holding you to those words.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.