The zone restriction module never terminates. There seems to be no way to unsynchronize units from the module once the FSM is started.
Description
Description
Details
Details
- Legacy ID
- 1560567478
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Place the module.
Place a trigger.
Place a unit.
Sync unit and trigger to module.
unsync the unit from the module using:
moduleName synchronizeObjectsRemove [unitname];
Leave the trigger area and you will be killed.
Additional Information
There needs to be something in the FSM that allows it to terminate properly, an additional condition and terminate statement.
Placing this in the debug console will not kill the unit, but there needs to be an easier way:
0 = [] spawn { while {alive unitname} do {unitname setVariable ["BIS_deserter",False,True]; sleep 0.001;};};