before i start working with custom dialogs, is there any way known to show more than one buff with duration on the unit (under hp and energy). on my map it might happen that more than 1 buff is running out and the latest buff always overrides the one before.
ok update:
using unitstatusdurationbar dialog item doesn't do anything. there is a function to add a behaviour type to that dialog item but it doesn't do anything. setting max and min value will show a black bar (at least something). setting the current value doesnt do anything again. so i gave up on this.
using the progressbar dialog item is more promising. setting current value works as it should. everything is fine except one thing. i cannot attach it to the unit properly. trying to attach it to the statusbar throws the error " Couldn't get ids.count > 0 parameter from DialogSetpositionRelativeToUnit"
attaching the dialog to "top" and causes several issues with the size and position of the dialog depending on the current camera angle and distance.
so any ideas?
hello there,
before i start working with custom dialogs, is there any way known to show more than one buff with duration on the unit (under hp and energy). on my map it might happen that more than 1 buff is running out and the latest buff always overrides the one before.
@FunkyUserName: Go
ok update:
using unitstatusdurationbar dialog item doesn't do anything. there is a function to add a behaviour type to that dialog item but it doesn't do anything. setting max and min value will show a black bar (at least something). setting the current value doesnt do anything again. so i gave up on this.
using the progressbar dialog item is more promising. setting current value works as it should. everything is fine except one thing. i cannot attach it to the unit properly. trying to attach it to the statusbar throws the error " Couldn't get ids.count > 0 parameter from DialogSetpositionRelativeToUnit"
attaching the dialog to "top" and causes several issues with the size and position of the dialog depending on the current camera angle and distance.
so any ideas?