doombuilderx icon indicating copy to clipboard operation
doombuilderx copied to clipboard

[UDMF] Linedef special arguments defaults are not reset

Open ioan-chera opened this issue 6 years ago • 0 comments

Trying in Eternity (UDMF) map format -- probably any port will do -- I edit a linedef's properties and edit the "Action" text box to set the value to 301 (Line Quick Portal). The problem is that, as I type the digits, the dropdown box changes to each valid linedef special with that number, and the arguments below get set automatically to default values for each special. Unfortunately, when I finally type 301 to have the quick portal special, the arguments from the previous specials remain set, even if their values are out of current special's domain.

GZDoom Builder clears arguments when changing the special, so typing the action # is safe there. Is this currently not yet implemented in Doom Builder X, or do you have reasons to consider it undesirable?

Could it be a bug if unspecified default args are not reset to 0?

EDIT: if I may add, undefined arguments set to non-zero are quite dangerous, because they're reserved by the source port, with the possibility of becoming meaningful later.

ioan-chera avatar Mar 18 '18 13:03 ioan-chera