Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 |
class LinkTurretController extends TurretController; auto state Searching { function ScanRotation() { local Rotator OldDesired; if ( ASTurret_LinkTurret(Pawn) == None ) { Super.ScanRotation(); return; } OldDesired = DesiredRotation; DesiredRotation = ASTurret_LinkTurret(Pawn).OriginalRotation; DesiredRotation.Yaw = DesiredRotation.Yaw + 8192; if ( (DesiredRotation.Yaw & 65535) == (OldDesired.Yaw & 65535) ) DesiredRotation.Yaw -= 16384; } } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |