• 🏆 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!

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