• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

Icon image paths as variables?

Status
Not open for further replies.
Level 12
Joined
Aug 3, 2005
Messages
745
Hey,

So basically I'm trying to place a number of icons into an array, so that I can randomly pick one and place it on a dialogue.

I've hit a wall thou, as I can't seem to find a variable type to store it as. Anyone have any ideas?

In warcraft you just used to use strings, as far as I can tell that won't work?

Thanks
 
Level 1
Joined
Feb 24, 2010
Messages
62
There is a way:

Create a variable, and then go to the 'Type' dropdown menu. Scroll upwards until you see '- File', and select it. Then a new dropdown menu will be available, called 'File Type', open it, and select image.
Voila, you got your image variable.

image.jpg
 
Status
Not open for further replies.
Top