Been doing about an hour or so of testing on this, and so far ive found no way to alter a dialog image outside of the trigger it was created in. Basically one trigger creates and image, and one trigger removes it. As of right now, chalking it up to impossible, but would LOVE to have me proven wrong.
Could you be more specific on set dialog image? Ive tried setting it to nothing, and setting it to black/white dds to try and overwrite the previous image, neither method worked. Ill try the set dialog item value, but havent worked with strings before so cant imagine ill just figure that one out.
I am storing the dialog in the variable right? here is my code for storing
Dialog - Create an image for dialog Pet Dialog[1][1] with the dimensions (76, 76) anchored to Center with an offset of (0, 0) setting the tooltip to "" using the image Assets\Textures\btn-unit-terran-predator.dds as a Normal type with tiled set to false tint color White and blend mode Normal
Variable - Set Pet UI Image[1][1] = (Last created dialog item)
Or is it not a dialog item that can be stored like that
Been doing about an hour or so of testing on this, and so far ive found no way to alter a dialog image outside of the trigger it was created in. Basically one trigger creates and image, and one trigger removes it. As of right now, chalking it up to impossible, but would LOVE to have me proven wrong.
@coronbale: Go
I'd love to. Set Dialog Item Image. Or even Set Dialog Item Value to a string value of the image directory will work
@progammer: Go
Could you be more specific on set dialog image? Ive tried setting it to nothing, and setting it to black/white dds to try and overwrite the previous image, neither method worked. Ill try the set dialog item value, but havent worked with strings before so cant imagine ill just figure that one out.
@coronbale
I am storing the dialog in the variable right? here is my code for storing
Dialog - Create an image for dialog Pet Dialog[1][1] with the dimensions (76, 76) anchored to Center with an offset of (0, 0) setting the tooltip to "" using the image Assets\Textures\btn-unit-terran-predator.dds as a Normal type with tiled set to false tint color White and blend mode Normal
Variable - Set Pet UI Image[1][1] = (Last created dialog item)
Or is it not a dialog item that can be stored like that
@coronbale: Go
To make sure you store it correctly, use show/hide dialog item to see if it works. If it can be hide, then the problem is in the set image part
@progammer:
If i had a dollar for every time you saved my ass progammer...
<<<<