Code: Select all
state Roaming {
ignores EnemyNotVisible;
function PickDestination()
{
if ( bHasWandered && (FRand() < 0.1) )
GotoState('FadeOut');
else
Super.PickDestination();
bHasWandered = true;
}
}
Is a special syntax needed (like "Super(ScriptedPawn).Roaming.PickDestination()" or is this not possible at all because Nail's state 'Roaming' is redefined instead of extended?