Page MenuHomeFeedback Tracker

The setAperture command does not reset after deleting the unit with the command.
Closed, ResolvedPublic

Description

After deleting the unit with the setAperture command the Aperture setting remains and cannot be changed. The setting also remains in the main menu and other missions. {F17063}

Details

Legacy ID
3757473526
Severity
Minor
Resolution
Not A Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Place a unit in the editor.
  2. Add "setAperture 0.2" to the unit.
  3. Preview the mission.
  4. Go back into the editor and delete the unit.
  5. Preview the mission again.

Event Timeline

beastcat edited Steps To Reproduce. (Show Details)Mar 6 2013, 7:08 PM
beastcat edited Additional Information. (Show Details)
beastcat set Category to Scripting.
beastcat set Reproducibility to Always.
beastcat set Severity to Minor.
beastcat set Resolution to Not A Bug.
beastcat set Legacy ID to 3757473526.May 7 2016, 11:03 AM

Works as intended.

The setAperture command is not limited to a specific unit. You need to reset it manually when necessary.