Search the Community
Showing results for tags 'aidontshoot'.
Found 1 result
-
AI won´t shoot if server is owner
PhoenixArma posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, I've got the following problem: I spawn some AI with a script (via createUnit) in a region on the map. Those spawned AI units don´t shoot at players if i host the mission on a server. They react to my(player) presents and switch to combat mode, run around, etc. but they won't shoot at me. Confirmed details: - Player is Blufor - AI is Opfor - AI switches to Combat Mode if player is present - AI has enough ammo - AI is capable to react (https://community.bistudio.com/wiki/enableAI) - Center is created (https://community.bistudio.com/wiki/createCenter) - Relations are correct (https://community.bistudio.com/wiki/setFriend) I´ve tested the following: - Spawn the AI in the editor -> they shoot me. - Host a local server and spawn the AI -> they shoot me. - Switch AI owner on server from server to player ({_x setOwner (owner(allPlayers select 0));} foreach allUnits;) -> they shoot me. Seems like the AI only shoot its owner on the server... Any suggestions how I can fix this? Thanks!- 4 replies
-
- aidontshoot
- server
-
(and 5 more)
Tagged with: