Naut's having some problems with posting so I'm posting this for him:
I personally believe he should use Super.PostBeginPlay(); but it's not really the issue atm.I've been trying to use this code instead and see if it worked. The problem is, I have no idea how to get to "RORoleInfo..." from the mutator class. In this bit of code I tried something, but the address is wrong and it will refuse to compile
Is there any way to easily find the address for something like RORoleInfoAxisAssault and its equivelent? Or am I just completely overlooking something that Unrealscript implemented?Code:event PreBeginPlay() { Super.PreBeginPlay(); WorldInfo.Game.RORoleInfoAlliesAssault = class'NoMKB.RORoleInfoAlliesAssaultNoMKB'; WorldInfo.Game.RORoleInfoAxisAssault = class'NoMKB.RORoleInfoAxisAssaultNoMKB'; }
This is the compile error:
Code:[0013.26] C:\Steam\Steamapps\common\red orchestra 2\Development\Src\NoMKB\Classes\MutNoMoreMKB.uc(22) : Error, Unrecognized member 'RORoleInfoAlliesAssault' in class 'GameInfo'