Arma 3
77 ratings
Auto Door Opener For AI
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
File Size
Posted
Updated
3.975 KB
8 May @ 2:20pm
5 Jun @ 3:52pm
13 Change Notes ( view )

Subscribe to download
Auto Door Opener For AI

Description
Forces doors to unlock and open whenever an AI unit is nearby.
This mod was made to prevent the AI from walking through doors without opening them
WARNING:
This addon may cause performance issues since it has to check AI's distance to doors frequently. Not recommended for large-scale missions.
11 Comments
Patapignouf 5 Jun @ 2:59pm 
Really love your mod but there is a strange behaviour from IA where they continuously close door in CQB. I cannot even enter in a building... So strange.
Lemonwire 2 Jun @ 8:24pm 
Love your auto door script! I hated AI's just walking through a closed door in CQB.

But I tried this for Global Mobilization buildings, which didn't work.
It seems many GM buildings use a different animation name pattern in their door logic.

Instead of checking an animation like "Door_1_rot", their UserActions often check the status of an animation like "door_1_sound_source" to see if a door is closed. I couldn't get GM doors to open with _building animate [_doorAnim, 1] so I used call BIS_fnc_Door which worked. So, for GM buildings when you're deciding to open door index _i, you might:
Check the phase of format["door_%1_sound_source", _i].
If it's closed, call [_building, _i, 1] call BIS_fnc_Door;.
STyx2909 14 May @ 1:14am 
Well done.

But Star Trek universe MOD when?
Whells 13 May @ 12:43pm 
Can you add a way to adjust the distance the AI needs to be before the door opens? right now it feels as if the AI has telekynesis
_mickey_ 12 May @ 1:57pm 
@Rastek no, it's better to add a collision for the AI ​​so that it can't pass through and teach the AI ​​to get out of getting stuck (if that happens)
Rastek 12 May @ 11:58am 
Aight, now we need an auto wall opener for AI that opens and closes whatever walls and barricades an AI will go through
Bax 12 May @ 11:31am 
Terrible stupid AI problem, thanks for the solution!
Lelik 12 May @ 9:09am 
We didn't ask for it, but we needed it
Cpt. keegan R 11 May @ 3:48am 
tank you for the gud mod! :D
Eruxxz 10 May @ 11:01am 
Amazing mod! thanks so much!