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 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 |
//============================================================================= // SkaarjBerserker. //============================================================================= class SkaarjBerserker extends SkaarjWarrior; #exec TEXTURE IMPORT NAME=Skaarjw2 FILE=MODELS\Skar1.PCX GROUP=Skins function WhatToDoNext(name LikelyState, name LikelyLabel) { local Pawn aPawn; aPawn = Level.PawnList; while ( aPawn != None ) { if ( (aPawn.IsA('PlayerPawn') || aPawn.IsA('ScriptedPawn')) && (VSize(Location - aPawn.Location) < 500) && CanSee(aPawn) ) { if ( SetEnemy(aPawn) ) { GotoState('Attacking'); return; } } aPawn = aPawn.nextPawn; } Super.WhatToDoNext(LikelyState, LikelyLabel); } function eAttitude AttitudeToCreature(Pawn Other) { if ( Other.IsA('ScriptedPawn') && !Other.IsA('Pupae') ) return ATTITUDE_Hate; else return ATTITUDE_Ignore; } defaultproperties { LungeDamage=40 SpinDamage=40 ClawDamage=20 VoicePitch=0.300000 Aggressiveness=0.800000 Health=320 Skill=1.000000 CombatStyle=1.000000 Skin=Texture'UnrealI.Skins.Skaarjw2' DrawScale=1.200000 Fatness=150 CollisionHeight=56.000000 Mass=180.000000 Buoyancy=180.000000 RotationRate=(Yaw=50000) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |