HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ObjectMerger Special Cases

04-18-2010, 07:51 AM#1
TheKid
The question is, what kinds of values would I have to use in an external call to achieve equivalents to values such as "Can't raise, does not decay". I was thinking maybe it would be converted into two boolean values separated by a comma, but I'm not certain.
04-18-2010, 08:13 AM#2
0zyx0
I have little experience with the object merger, but I believe those values are stored as an integer, if you press CTRL+D in the object editor, you can see which integer value represents what.
04-18-2010, 08:15 AM#3
Fledermaus
Just check unit raw data in the eidtor, deathType shows as an integer, ranging from 0 to 3.
0 = Can't raise, Does not decay
1 = Can raise, Does not decay
2 = Can't raise, Does decay
3 = Can raise, Does decay


Is that what you meant?
04-18-2010, 08:15 AM#4
Ammorth
In the object editor, press Ctrl+D (or go to View > Display values as raw data). For udea, it takes an integer 0, 1, 2 or 3.

For values that you want blank (some fields go blank instead of showing a value, you need to use "". As well, some field will show 0 but using 0 with the object merger changes it to 48. For these fields, they are actually taking the ASCII value of the char. Its wierd and it sucks, but you have to then find a way to get the value you need.

edit: damn my slow typing!
04-18-2010, 08:28 AM#5
TheKid
I didn't even try pressing Ctrl+D, but it makes a lot of sense now that I think about it. You're right, it displays a 3. Thanks a lot guys.