Page MenuHomeFeedback Tracker

Hidden vehicle does not move on waypoint
New, NormalPublic

Description

A vehicle that has move waypoint wont move if it's hidden (using hideObjectGlobal) on it's waypoints

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
AI Pathfinding / Motion
Steps To Reproduce

In editor:

  1. create vehicle called "testcar" and give it a move waypoint
  2. Make the testcar invisible using "this hideObjectGlobal true" - in init field
  3. 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

Event Timeline

gc8 created this task.Mar 7 2021, 11:53 AM
gc8 updated the task description. (Show Details)
gc8 edited Steps To Reproduce. (Show Details)
gc8 edited Steps To Reproduce. (Show Details)Mar 7 2021, 11:56 AM
gc8 updated the task description. (Show Details)
gc8 edited Steps To Reproduce. (Show Details)
gc8 edited Additional Information. (Show Details)Mar 7 2021, 7:04 PM