All pastes #409738 Raw Edit

nova

public cpp v1 · immutable
#409738 ·published 2007-03-25 21:50 UTC
rendered paste body
function bool CheckReplacement(Actor Other, out byte bSuperRelevant){if(Level.Game.IsA('TC_CTFGame')) {if(Other.IsA('ONSPowerCoreRed')){Spawn(class'ThunderClash.vCTF_xRedFlagBase',,,(Other.Location + vect(0,0,-120)), Other.Rotation);return FALSE;}if(Other.IsA('ONSPowerCoreBlue')){Spawn(class'ThunderClash.vCTF_xBlueFlagBase',,,(Other.Location + vect(0,0,-120)), Other.Rotation);return FALSE;}if(Other.IsA('vCTF_xRedFlagBase')){Other.bStatic = True;return TRUE;}return TRUE;}}