AI Triggers

3 posts in this topic

Greetings, Fam.

On my small private family server (Exile Australia), I am currently using DMS, DMS Occupation and A3XAI (Each has its own role). I know most people steer clear of using Triggers because of the hit on server performance, but I would like to know if anyone can tell me where I could find information about creating AI Reinforcement Triggers. Specifically, If I have a Building in my custom Sector B, and players infiltrate that building, AI ground reinforcements should be incoming from position X. Does anyone know where I could possibly find info on this, or even better, is there a way I could reverse-engineer or mod a current script inside the aforementioned AI mods that would do exactly this? Or maybe something inside ZCP Capture? I love thinking outside the box and being creative, but I think I might need some help on this one. Thanks guys! :) 

Share this post

Link to post
Share on other sites



ONE way is to put a marker in that building and have the script poll the player -> building distance.  When the range 'is right', then run your reinforcement script.


This is how it is done 'now' as opposed to using triggers as it was done in the 'old days'.


It is simple ' cartesian coordinates math '.  See HERE


Or an example from ARMA scripting HERE,


It is some work, but it is the best way to do it and you can 'time' how often the check is made too.


Good luck to ya!





Share this post

Link to post
Share on other sites

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.