When you setcaptive true a unit you spawned with createvehicle the enemy will still shoot them and checking their captive status will produce false.
Description
Description
Details
Details
- Legacy ID
- 4280390890
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
make a script with something like
_replacement = createvehicle [_class,_pos,[],0,"NONE"]
_replacement setcaptive true
?!(captive _replacement) : hint "not captive"
hint will be "not captive" and enemy will shoot them.
Event Timeline
Comment Actions
This still seems to be an issue. I spawn and immediately setcaptive a unit yet they are still being killed.
Comment Actions
please fix this. I even tried to spawn a blufor unit under civilian group with same results.