• 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.

Raw Code

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How to set a new Raw Code ?I've downloaded a new spell (JASS) and it says that I should change its Raw Code while I'm pasting for my map,...how 2 do that ?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
JNGP allows you to set the rawcode of object types when you create new objects. Most JASS spells should use constant variables or inlining macros to declare rawodes at the top of their script that you need to change to match the rawcode of the objects you want the system to use in your map.

In the test maps, the dummy cast ability might be 'A000'. In your map 'A000' might be allocated to an ability already so the dummy ability bight be given 'A02A'. Inorder for the scripted systems to function correctly you will need to change the references to 'A000' to the correct references for you map (in this case 'A02A'). This is an example and your map will most likly have different rawcodes from the ones I listed but the same behaviour applies.
 
Status
Not open for further replies.
Top