Jump to content
Korean Random
Sign in to follow this  
DSTR

[9.19/6.7.3] Баг в healthBar

Recommended Posts

Макрос динамического цвета {{c:hp-ratio}} не работает в "healthBar", работает только статический один цвет:

 

"healthBar": {
      "enabled": true,
      "x": -21,
      "y": -34,
      "alpha": 100,
      "color": "{{c:hp-ratio}}",   //   цвет основной (допускается использование динамического цвета, см. macros.txt)
      "lcolor": "{{c:hp-ratio}}",
      "width": 40,
      "height": 2,

 

А в "hpPercent" работает:

 

"hpPercent": {
      "name": "Percent of HP",
      "enabled": true,
      "x": 0,
      "y": -21,
      "alpha": 100,
      "align": "center",
      "textFormat": {
        "font": "$FieldFont",
        "size": 13,
        "color": "{{c:hp-ratio}}",
        "bold": true,
        "italic": false

post-44689-0-97182800-1497034217_thumb.jpg

post-44689-0-18168900-1497034223_thumb.jpg

Share this post


Link to post

Short link
Share on other sites

Давненько уже такое - с перехода на AS3. Там работали только глобальные макросы.

Исправил.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...