Hi,
I wrote this code in my mutator:
The problem is that "ROObjective Assigned" never appears in the logs, while "CheckReplacement" appears often. Any idea why? ROObjective is a NavigationPoint which is an Actor.
I wrote this code in my mutator:
Code:
function bool CheckReplacement(Actor Other)
{
local bool ret;
`Log("CheckReplacement", true, 'TimingOverride');
ret = Super.CheckReplacement(Other);
if (ROObjective(Other) != None)
{
`Log("ROObjective Assigned", true, 'TimingOverride');
ROObjective(Other).CountdownTime *= 2;
}
return ret;
}
The problem is that "ROObjective Assigned" never appears in the logs, while "CheckReplacement" appears often. Any idea why? ROObjective is a NavigationPoint which is an Actor.
Last edited: