hi, trying to track down an infinite recursion error ... i've subclassed the Teleporter actor and called it OffsetTeleporter ... It removes code in the Touch function dealing with sending a player across the 'net, and picking a random teleporter, and also adds some additional vector stuff in the Accept function.
Works fine in botmatch and on the server machine (nondedicated) but crashes on the client machine with a recursion error, says it cancelled it after 250 calls.
I've combed through and nowhere have i removed anything with replication or role code in it that would be called in the normal Teleporter in my circumstances. Grasping at straws the only part of things i never understood anyway was how to control using Super ....
For example, if in say Teleporter there's a function BLAH() that calls Super.BLAH(), then in my subclass i have a BLAH() function and i put Super.BLAH(), it will execute the BLAH() in Teleporter when in hits that line, right?
But how can i instead have it execute the BLAH() in NavigationPoint (Teleporter's parent)? I tried Super.Super.BLAH() but got recursion errors right off the bat ... I tried NavigationPoint.BLAH() i think and got some sort of error ... I think i also tried global.BLAH() and got errors too ...
Works fine in botmatch and on the server machine (nondedicated) but crashes on the client machine with a recursion error, says it cancelled it after 250 calls.
I've combed through and nowhere have i removed anything with replication or role code in it that would be called in the normal Teleporter in my circumstances. Grasping at straws the only part of things i never understood anyway was how to control using Super ....
For example, if in say Teleporter there's a function BLAH() that calls Super.BLAH(), then in my subclass i have a BLAH() function and i put Super.BLAH(), it will execute the BLAH() in Teleporter when in hits that line, right?
But how can i instead have it execute the BLAH() in NavigationPoint (Teleporter's parent)? I tried Super.Super.BLAH() but got recursion errors right off the bat ... I tried NavigationPoint.BLAH() i think and got some sort of error ... I think i also tried global.BLAH() and got errors too ...