maverickturner Posted July 13, 2018 Posted July 13, 2018 With the MP issues lately, there has been a lot of talk about setting units to have their AI toggle on/off via InZone triggers. Is this possible via a script? Something that can be applied to all or selected ground units even if they are moving, cloned or respawned? The idea I have in my head is: If alive and ground unit, then AI off. If coalition.Blue inside zone of Ground unit, turn AI ON. It would have to involve a repeated Alive check and moving zones. I'm gathering my thoughts on this and trying to understand how to do it (as a Lua rookie.) I thought I'd reach out to the community and see what thoughts you guys had. A member of our group manually added zones to stationary ground vehicles with an AI toggle and it greatly helped the lag spikes in the server.
Habu_69 Posted July 14, 2018 Posted July 14, 2018 MOOSE has methods: GROUP:SetAIOn(), GROUP:SetAIOff()
Recommended Posts