I have been trying a bit around with the scripting commands and found out that if you are hiden with "player hideObject true" AI will still shoot you, but the bullets will go through you.
I have also tried to reload the mission i had and tried if it works, but still same issue.
Description
Details
- Legacy ID
- 228847096
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- AI Aiming / Shooting
Go im editor
Create player and a few random enemy AI's
Create a gamelogic "player hideObject true"
Try it out.
Related Objects
Event Timeline
Hey! Thank you for the report.
That is true and it is an intended behavior. HideObject does only hide an object visually. It's e.g. often used with enableSimulation false to hide something you want to enable / reveal later in the mission or to manage performance of the scenario.
The AI only looses the visual detection on a hidden object, however the AI still has audible (and ev. radar) detection. Usually it would be the footsteps what reveals you, on the other hand footsteps should not allow the AI for friend-or-foe identification. Other sounds (fire, shouting) could however.
I've checked it again and it doesn't seem working like I thought it should. However using hideObject on an active unit is still something the command wasn't intended for and it may not be AI-friendly when used so.
So far I can't promise any change in the behavior, but will investigate the issue.
i just tried to use both commands enablesimulation false and hideObject true, but that resulted in me being stuck unable to move/turn/shoot/change weapon...