• 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.
  • Vote for the theme of Hive's HD Modeling Contest #7! Click here to vote! - Please only vote if you plan on participating❗️

[JASS] Will this bug?

Status
Not open for further replies.
Level 40
Joined
Dec 14, 2005
Messages
10,532
Raw codes are Hexdecimals but the argument of an array must be integer.
First, rawcodes are not hexadecimal.

Second, Hexadecimal is a base system which can be used to express integers.

--

I generally do this if I want to store, say, a bunch of abilities from 'A000' up (keep in mind the first two characters have to be the same for all values).

JASS:
set i[rawc-'A000'] = 5
 
Status
Not open for further replies.
Top