- Joined
- Dec 29, 2017
- RedCents
- 19,264¢
I see. I got an RoF2 compile and have to say I coded a very limited number of macro's for it's compile. Something you might find useful would be my data.mac. You can type /mac data datatype and get the resulting members of that datatype output to your screen and to an ini file called data.ini. Typically I would provide you copy of my data.ini file and you would be able to look through all the existing data types. BUTTTTTT since you have an ROF build it sounds like this is a perfect time for it to find a use outside of the live servers.
In order to determine members of a datatype that you have access to you would need to know the name of the data type. IE: character, spawn, spell, gem for example. /mac data character, /mac data spawn, /mac data spell, /mac data window, mac data gem, etc etc.
The existing wiki should tell you the TLO's available. https://redguides.com/wiki/Category:Top-Level_Objects
Then knowing what members you have access to based on data type is useful.
/mac data string, /mac data int, for example.
The output of the file should be
In the case of Character - Character is ${Me}, so if Character Member1=PctHP then ${Me.PctHP}
The information about it being for an EMU build would have been useful from the start as the code has advanced some since RoF2 build.
Please find attached data.mac, hopefully it works on the EMU build :-)
In order to determine members of a datatype that you have access to you would need to know the name of the data type. IE: character, spawn, spell, gem for example. /mac data character, /mac data spawn, /mac data spell, /mac data window, mac data gem, etc etc.
The existing wiki should tell you the TLO's available. https://redguides.com/wiki/Category:Top-Level_Objects
Then knowing what members you have access to based on data type is useful.
/mac data string, /mac data int, for example.
The output of the file should be
Rich (BB code):
[datatype name]
Member1=somemember
Member2=someothermember
In the case of Character - Character is ${Me}, so if Character Member1=PctHP then ${Me.PctHP}
The information about it being for an EMU build would have been useful from the start as the code has advanced some since RoF2 build.
Please find attached data.mac, hopefully it works on the EMU build :-)