Qhimm.com Forums
Basically Mandatory => 7th Heaven => Topic started by: markul on 2020-08-22 12:39:39
-
Hi ;D , one question about the 7th heaven xml format.
Im triying to load a mod folder with this conditions:
<ModFolder Folder="Ojos\ojosCloud\Cloud" >
<ActiveWhen>
<And>
<Option>CloudOjos = 0</Option>
<Option>gameplay = 1</Option>
<Option>Byte:0xDC091B = 1</Option>
</And>
</ActiveWhen>
</ModFolder>
But it seems that dont work for the variable Byte:0xDC091B, (i tried with a 7th heaven variable and it work and i know that Byte:0xDC091B has the correct value when i test it) i can make this conditions in other way?
-
I don't believe that is a correct format. I believe Option is strictly for use in Configure Mod. However, if by some miracle that worked if you added the variable to the var file, then I will note that there was a bug in previous versions of 7H (2.0) that didn't work with custom variables, but that has since been fixed.
With that said, I believe the proper format would be combining these 2 examples in the Help documentation:
http://7thheaven.rocks/help/modhelp.html#conditionalfolders
http://7thheaven.rocks/help/modhelp.html#modoperators
-
http://7thheaven.rocks/help/modhelp.html#conditionalfolders
http://7thheaven.rocks/help/modhelp.html#modoperators
when i was asking how to make a .iro on discord, why the hell didnt you send me these links? :P
-
I don't believe I had the documentation on the web at the time and only had it onboard with 7H itself...and I thought I did mention to check out the onboard help, but maybe I didn't think of it for some reason.
-
I don't believe that is a correct format. I believe Option is strictly for use in Configure Mod. However, if by some miracle that worked if you added the variable to the var file, then I will note that there was a bug in previous versions of 7H (2.0) that didn't work with custom variables, but that has since been fixed.
With that said, I believe the proper format would be combining these 2 examples in the Help documentation:
http://7thheaven.rocks/help/modhelp.html#conditionalfolders
http://7thheaven.rocks/help/modhelp.html#modoperators
Oh, thanks ! I tried some combinations and now it seems to work! I didnt know that i could put the "ActiveWhen" tag into the "Conditional " tag .
<Conditional Folder="Ojos\ojosCloud\Aeris" >
<ActiveWhen>
<And>
<Option>CloudOjos = 3</Option>
<Option>gameplay = 1</Option> </And></ActiveWhen>
<RuntimeVar Var="Byte:0xDC091B" Values="5" />
</Conditional>