Disabling "Spawn AI: Spawnpoint" module
Posted: Mon Aug 17, 2015 11:14 pm
Hey, so I've been experimenting with stuff.
I have BLUFOR and OPFOR. There is a Sector to be taken. OPFOR is AI. I would like to disable the OPFOR spawn when BLUFOR takes the sector. If BLUFOR is not in the sector, OPFOR's spawn remains active.
In the "Expression" field of the Sector module, I put in:
where CSATspawn is the name of the Spawn AI: Spawnpoint module instance i put down. I found this code here.
I've also tried syncing CSATspawn to a trigger with the condition:
where secA is the name of the Sector.
Neither work.
What should I do? I'm not using F3 yet for anything.
(I've also googled this, no solutions).
I have BLUFOR and OPFOR. There is a Sector to be taken. OPFOR is AI. I would like to disable the OPFOR spawn when BLUFOR takes the sector. If BLUFOR is not in the sector, OPFOR's spawn remains active.
In the "Expression" field of the Sector module, I put in:
Code: Select all
if ((_this select 1) == west) then {CSATspawn enableSimulation false}
I've also tried syncing CSATspawn to a trigger with the condition:
Code: Select all
((secA select 1) != west)
Neither work.
What should I do? I'm not using F3 yet for anything.
(I've also googled this, no solutions).