You know, I can't remember what the error was; it was a lot of errors ago. However, it did strike me as odd since (as you mention) the code was essentially identical in what it was doing. Thanks for the detailed explanation, I will refer back to it again.
Originally Posted by Spoof
Anyway, I got it working, my pawn is FINALLY following the pointer.
In case anyone else runs into something like this, here is the code that finally worked:
Thanks for all your help
local Controller Controller;
// Type cast to get our HUD
MouseInterfaceHUD = MouseInterfaceHUD(myHUD);
GameReplicationInfo = FolklandsGameReplicationInfo(WorldInfo.GRI);
Controller = GameReplicationInfo.ActivePawn.Controller;
HandleMouseInput((FireModeNum == 0) ? LeftMouseButton : RightMouseButton, IE_Pressed);
if (FireModeNum == 0) //If this was a left press
if (GameReplicationInfo != none)
FolklandsPawnController(Controller).Target = Spawn(Class'FolklandsGroundPointerActor', , , MouseInterfaceHUD.CachedMouseWorldLocation, , , true);