Luffyyy / BeardLib-Editor

Editor for PAYDAY 2 using the power of BeardLib.
MIT License
37 stars 28 forks source link

Element: AreaTrigger - Instigator Name cannot be removed once set #759

Closed Whurrhurr closed 1 year ago

Whurrhurr commented 1 year ago

Describe the bug

Title. setting an equipment instigator in Instigator Name, you aren't allowed to remove what was picked because there's no option to have no equipment for an instigator name

218620_20230106024901_1

Steps to reproduce the issue

just set an instigator name to one of the options, you now have no way of removing it outside of manually editing the .mission file.

Log file

No response

Minimal reproduction

No response

Xeletron commented 1 year ago

The Instigator Name parameter is only used if the instigator is set to 'equipment' which requires the instigator name, so I dont think reseting it would make much sense, do you have a special use case for it? To clear up confusions in the future with this, I could make the Instigator Name option only visible if the instigator is set to equipment.

Whurrhurr commented 1 year ago

make it so that instigator name option is only visible if the instigator is set to equipment.