Page MenuHomeFeedback Tracker

Zone Restriction Module never terminates
New, WishlistPublic

Description

The zone restriction module never terminates. There seems to be no way to unsynchronize units from the module once the FSM is started.

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;};};

Event Timeline

cobra4v320 edited Additional Information. (Show Details)
cobra4v320 set Category to Scripting.
cobra4v320 set Reproducibility to Always.
cobra4v320 set Severity to None.
cobra4v320 set Resolution to Open.
cobra4v320 set Legacy ID to 1560567478.May 7 2016, 5:08 PM
Bohemia added a subscriber: AD2001.Oct 14 2013, 2:11 AM

Trying to delete the trigger or module also has no effect.