A vehicle that has move waypoint wont move if it's hidden (using hideObjectGlobal) on it's waypoints
Description
Description
Details
Details
- Severity
- Major
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- AI Pathfinding / Motion
Steps To Reproduce
In editor:
- create vehicle called "testcar" and give it a move waypoint
- Make the testcar invisible using "this hideObjectGlobal true" - in init field
- Put the script below to init.sqf
// Create arrow object to track the vehicle's movement arrow = createSimpleObject ["Sign_Arrow_F",[0,0,0],true]; addMissionEventHandler ["EachFrame", { // Track the location of the testcar using arrow model _pos = getposASL testcar; _pos set [2, (_pos # 2) + 3]; arrow setposASL _pos; }];
Play and see that the arrow does not move. Make the vehicle visible again and the arrow and the car moves
Additional Information
Tested in single player, VR map
Infantry moves even when invisible