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

[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