dynamic spawns with custom markers (the static kind). Is it possible?

Zeehond23

Valued Member!
Hi,

I was wondering if it was possible to have Ai spawn on a few locations, but only if someone is near.
Example: I have a castle on my server, and would like to have AI there. At the moment it is static AI, but to reduce server load I' d like them only spawn in when someone is at say 600m from the place.

Now, I've tried to use the dynamic grid thingy, but then I still get Ai all over the place.
 
Yes I think it is possible by using sensors (just like the protective dome script)
Using protective dome script you would need to change:
expActiv="dome = [] execVM ""dome.sqf"";";
to something like:
expActiv="dome = [] execVM ""CastleAI.sqf"";";

Assuming that CastleAI.Sqf is the file with the dynamic spawns of your AI.
 
Back
Top