• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Spell] Dialog Custom Script

Status
Not open for further replies.
Level 26
Joined
Oct 2, 2011
Messages
2,482
[SOLVED] Dialog Custom Script

Hi!
I have a custom inventory that can be viewed with a dialog.
I'm using this dialog hotkey custom script.

  • set bj_lastCreatedButton = DialogAddButton(udg_Dialog, "|cffffffff[|r|cffffcc001|r|cffffffff]|rXXXXX", '1')
What I need to do is to replace XXXXX with a String Array Variable
I have tried to add "(String(udg_TextInventory[1]))" there but it fails to refer to the variable in game.

Is this possible to fix?
Thanks in advance!
 
Last edited:
Status
Not open for further replies.
Top