I've created a modification for BT-mappers. It includes an enhanced HUD and enhanced messages (implemented using a HUDMutator). Eventhough most BT-servers don't use UTPure anymore I still think it's important to support UTPure. There's a big problem with UTPure though. It changes the Players HUD and fucks up the HUDMutator-list. The PostRender-function still works for my HUDMutator, but I can't access the HUDMutator from another script.
Code:
for (HM = P.myHUD.HUDMutator; HM != None; HM = HM.NextHUDMutator)
{
... do stuff with HUDMutators
}
I was thinking UTPure just fucks up the HUDMutator-list, but apparantly it does more. The following loop doesn't work either.
Code:
foreach P.ChildActors(class'MyHUDMutator',HM)
{
... do stuff with my HUDMutator
}
This works fine if I don't use UTPure. I hope someone can enlighten me about this issue and perhaps knows a good workaround.