Skip to content

Attributes - Add support for dynamic value info#578

Merged
mharis001 merged 2 commits intozen-mod:masterfrom
ffredyk:addAttribute-_valueInfo-Evaluation
Mar 30, 2021
Merged

Attributes - Add support for dynamic value info#578
mharis001 merged 2 commits intozen-mod:masterfrom
ffredyk:addAttribute-_valueInfo-Evaluation

Conversation

@ffredyk
Copy link
Copy Markdown
Contributor

@ffredyk ffredyk commented Mar 24, 2021

When merged this pull request will:

  • Add _valueInfo evaluation only if the variable is a codeblock (typeName = "CODE")
  • Evaluate _valueInfo to be able to create combo attributes with dynamic values
  • Fallback to previous behaviour if _valueInfo is not a codeblock
  • Close addAttribute Value Info evaluation #576

@ffredyk ffredyk changed the title add: _valueInfo evaluation Attribute _valueInfo evaluation Mar 24, 2021
@neilzar neilzar added the enhancement Improves an existing feature label Mar 24, 2021
@neilzar neilzar added this to the 1.11.0 milestone Mar 24, 2021
Comment thread addons/attributes/functions/fnc_gui_combo.sqf Outdated
@mharis001 mharis001 changed the title Attribute _valueInfo evaluation Attributes - Allow for dynamic combo box entries Mar 25, 2021
@mharis001 mharis001 changed the title Attributes - Allow for dynamic combo box entries Attributes - Add support for dynamic value info Mar 30, 2021
@mharis001 mharis001 merged commit 7b27ef2 into zen-mod:master Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improves an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

addAttribute Value Info evaluation

3 participants