scp-fs2open / scp-fs2open/fs2open.github.com
`[sg]et-variable-by-index` considered confusing
- Dominant language
- C++
- Stars
- 487
- Forks
- 184
- PR merge metrics
- PR metrics pending
Description
There've been multiple instances of new FREDers trying to use `get-variable-by-index` and `set-variable-by-index` instead of Replace Variable, and being extremely confused by variables as a result. These operators are extremely niche, and now that we have containers, I'd even go so far as to call them obsolete. I think these operators should be hidden in FRED to avoid confusion.
Variable types also probably play into the confusion: creating a variable but getting the type wrong causes Replace Variable to be greyed out, which isn't good for discoverability; there might be room for a discussion about how to tweak this facet of the UI.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.