Page MenuHomeFeedback Tracker

Server does not have control over AI on a different locality
New, WishlistPublic

Description

This is a follow-up of http://feedback.arma3.com/view.php?id=21800.

Server does not have control over units located on a different locality.
After a group has been switched to a different locality (e.g. some headless clients in order to balance AI load), server isnt able to issue commands on them - the AI simply won't react and any related scripts running on the server will break due to unitReady failing.

Actually the only way to make AI still follow any command is to stream the command via network to the clients locality (with BIS_fnc_MP / remoteExec), even if the actual object can be referenced on the server.

This reduces scripting with commands to absurdity:
_group move _pos
_unit doMove _pos
_vehicle land "land"
etc.

...will not work.

You would need to script everything related to AI commands completely different for the server to still have control over the AI in any headless client environment:
[_group,_pos] remoteExec ["move", groupOwner _group]

This not only is definatly not intuitive at all, it also bloats scripted code and furthermore seems to increase network traffic too.

This limitation makes AI load-balancing (or simply switching locality on demand) impossible.

In short, server should always be master and have control over AI.

Details

Legacy ID
1205062055
Severity
None
Resolution
Open
Reproducibility
Always
Category
AI Issues
Steps To Reproduce

see http://feedback.arma3.com/view.php?id=21800

  • create group on server
  • switch group to HC with setGroupOwner
  • issue a move command for the group on server

Event Timeline

highhead edited Steps To Reproduce. (Show Details)Oct 6 2015, 6:32 PM
highhead set Category to AI Issues.
highhead set Reproducibility to Always.
highhead set Severity to None.
highhead set Resolution to Open.
highhead set Legacy ID to 1205062055.May 8 2016, 12:54 PM
highhead added a subscriber: highhead.

corrected error in title

PS: To illustrate the problem with the current implementation here the link to KKs "guide to locality": http://killzonekid.com/arma-scripting-tutorials-locality/

adding a custom function, PVC, PVS and PVEHs only to allow the server to add fuel to a vehicle...