moveTo doesn't work for agent local to dedicated server. This break https://community.bistudio.com/wiki/BIS_fnc_animalBehaviour as it rely on low-level commands such as moveTo or setDestination.
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- AI Issues
Steps To Reproduce
t = createAgent ["Goat_random_F", getPos (allplayers # 0), [], 0, "CAN_COLLIDE"];
Exec player side: the goat follow the animal behaviour
Exec server side: the goat just walk straight to the North
Additional Information
The issue come from moveTo because:
t = createAgent ["Goat_random_F", getpos (allplayers # 0), [], 0, "CAN_COLLIDE"]; t setVariable ["BIS_fnc_animalBehaviour_disable", true]; [] spawn { sleep 5; t moveTo getPos (allPlayers#0); };
Exec player side: the goat move to player
Exec server side: the goat just walk straight to the North
Event Timeline
Comment Actions
is it always straight north? my observation is in a herd of multiple animals they disperse in a star pattern in all directions, straight without ever turning.
Comment Actions
is it always straight north?
createAgent create an agent facing the North direction. May be if you set an other direction after creation, the animal will only move in that new direction