I'm trying to build a HUD mutator, a relatively simple task, I would imagine, but I'm having trouble in a few places.
The first place is in registering it. I don't know if it's registering or not, the Wiki and Chimeric is fairly unclear about how one registers a HUD muator. How does one properly register a HUD muator?
The second problem is in a few lines that are giving me errors, and I don't know why. I've seen these lines in other other classes, similar classes, and they run okay, but it complains with my script:
I'm working from the "Floating Actor Tips" code on Chimeric, I thought it was kosher, but I guess not.
The first place is in registering it. I don't know if it's registering or not, the Wiki and Chimeric is fairly unclear about how one registers a HUD muator. How does one properly register a HUD muator?
The second problem is in a few lines that are giving me errors, and I don't know why. I've seen these lines in other other classes, similar classes, and they run okay, but it complains with my script:
Code:
Canvas.DrawColor = WhiteColor;
Canvas.Style = ERenderStyle.STY_Translucent;
Canvas.Font = MyFonts.GetSmallFont( Canvas.ClipX );
ScreenPos = MapToScreen(FocusedActor.Location, Canvas);
Canvas.SetPos(Screenpos.x, Screenpos.y);
Canvas.DrawText(FocusedActor.Name);
I'm working from the "Floating Actor Tips" code on Chimeric, I thought it was kosher, but I guess not.