• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Dialog Custom Script

Status
Not open for further replies.
Level 26
Joined
Oct 2, 2011
Messages
2,490
[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