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

How to change object editor data rawcode?

Status
Not open for further replies.
Level 5
Joined
Jan 23, 2014
Messages
152
The rawcodes of the spells and units I made conflict with my main map and it's too tiring to change the buffs and triggers after transferring it to the main map.
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
IIRC, You can't re-assign or edit rawcodes of already existing objects... you can try having an initialization trigger which assigns ability rawcodes to variables for every triggered spell (etc.) on your map, but that would mean a recode.
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
Yes you should never use any of the reserved rawcodes as names for your custom objects.

In some cases it will make your map unplayable.

Best bet is to use whatever the object editor gives you. Keep in mind heroes must have capital letters, otherwise they get cast to units. Likewise for units--their rawcode letter must not be uppercase.
 
Level 5
Joined
Jan 23, 2014
Messages
152
So it's impossible then? I just edited some triggers from a spellpack. Guess I have no choice, thanks for the feedback! :)
 
Status
Not open for further replies.
Top