# SpatialFear.SFScriptedPawn

Spatial Fear
Name: SFScriptedPawn
Description: Spatial Fear implementation of base scripted pawn functionality.
Author: Markus Nuebel

Extends:
Modifiers: abstract
Source code

    SpatialFear.SFScriptedPawn

%%

## Variables

%function_comment% |  |  | bool | bCanHear
%function_comment% |  |  | bool | bCanSee
%function_comment% |  |  | bool | bCanSmell
%function_comment% |  |  | bool | bFightOtherCreatures
%function_comment% |  |  | bool | bRandomSenses
%function_comment% |  |  | float | fHealingTimer
%function_comment% |  |  | float | fMeleeDamage
%function_comment% |  |  | float | fStunnedTime
%function_comment% |  |  | Weapon | myWeapon
%function_comment% |  |  | bool | m_bStunned
%function_comment% |  |  | float | m_fSmellCounter
%function_comment% |  |  | float | m_fSmellImportance
%function_comment% |  |  | float | m_fStunnedCounter
%function_comment% |  |  | name | m_nameStateSaved
%function_comment% |  |  | name | m_NextLavelSaved
%function_comment% |  |  | name | m_NextStateSaved
%function_comment% |  |  | int | m_nStunnedRound
%function_comment% |  |  | int | m_nTacticalCounter
%function_comment% |  |  | SFStunnedEffect | m_oStunnedEffect
%function_comment% |  |  | rotator | m_rotSavedRot
%function_comment% |  |  | vector | m_vecSmellLocation
%function_comment% |  |  | name | RunAnim
%function_comment% |  |  | Sound | RunSound
%function_comment% |  |  | float | SmellRadius
%function_comment% |  |  | name | TakeHitAnim
%function_comment% |  |  | name | ThreatenAnim
%function_comment% |  |  | name | VictoryAnim
%function_comment% |  |  | name | WalkAnim
%function_comment% |  |  | Sound | WalkSound
%function_comment% |  |  | class<weapon> | WeaponType

## Functions

| TriggerAlarm |  | AlarmDone ()
| Stunned |  | AnimEnd ()
| Retreating |  | AnimEnd ()
|  | eAttitude | AttitudeTo (Pawn Other)
|  | eAttitude | AttitudeToCreature (Pawn Other)
|  | eAttitude | AttitudeWithFear ()
| Startup |  | BeginState ()
| TakeHit |  | BeginState ()
| Acquisition |  | BeginState ()
| Stunned |  | BeginState ()
| Stunned |  | Bump (actor Other)
| Retreating |  | ChangeDestination ()
|  |  | ChangedWeapon ()
| Attacking |  | ChooseAttackMode ()
|  | bool | ChooseTeamAttackFor (ScriptedPawn TeamMember)
|  |  | damageAttitudeTo (pawn Other)
|  |  | Died (pawn Killer, name damageType, vector HitLocation)
| Stunned |  | EndState ()
| Stunned |  | EnemyAcquired ()
|  | float | getHurtRate ()
| TacticalMove |  | GiveUpTactical (bool bNoCharge)
| Acquisition |  | HearNoise (float Loudness, Actor NoiseMaker)
| Hunting |  | HearNoise (float Loudness, Actor NoiseMaker)
|  |  | HearNoise (float Loudness, Actor NoiseMaker)
| MeleeAttack |  | KeepAttacking ()
| RangedAttack |  | KeepAttacking ()
| Stunned |  | Landed (vector HitNormal)
| TakeHit |  | Landed (vector HitNormal)
|  |  | lookForScent ()
| Retreating |  | PickDestination ()
| TakeHit |  | PlayHitAnim (vector HitLocation, float Damage)
|  |  | PlayPatrolStop ()
|  |  | PlayRunning ()
|  |  | PlayStunned ()
|  |  | PlayTakeHit (float tweentime, vector HitLoc, int damage)
|  |  | PlayThreatening ()
|  |  | PlayTurning ()
|  |  | PlayVictoryDance ()
|  |  | PlayWaitingAmbush ()
|  |  | PlayWalking ()
|  |  | PostBeginPlay ()
| Retreating |  | ReachedHome ()
| Acquisition |  | SeePlayer (Actor SeenPlayer)
|  |  | SeePlayer (Actor SeenPlayer)
|  | bool | SetEnemy (Pawn NewEnemy)
| Hunting | bool | SetEnemy (Pawn NewEnemy)
| Startup |  | SetHome ()
|  | bool | smell ()
|  |  | SmellScent (float fImportance, vector vectPosition)
| StakeOut |  | StakeOut (float Loudness, Actor NoiseMaker)
| Stunned |  | TakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
| Acquisition |  | TakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
|  |  | TakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
| TakeHit |  | TakeDamage (int Damage, Pawn instigatedBy, Vector hitlocation, Vector momentum, name damageType)
| Stunned |  | Tick (float DeltaTime)
|  |  | Tick (float DeltaTime)
| TakeHit |  | Timer ()
| Charging |  | Timer ()
| Stunned |  | Timer ()
|  |  | TossWeapon ()
|  |  | TweenToPatrolStop (float tweentime)
|  |  | TweenToRunning (float tweentime)
|  |  | TweenToStunned (float tweentime)
|  |  | TweenToWalking (float tweentime)

## Default properties

    {
         SmellRadius=500.000000
         bCanHear=True
         bCanSee=True
         bCanSmell=True
         fHealingTimer=30.000000
         fStunnedTime=5.000000
         bFightOtherCreatures=True
         m_fSmellCounter=5.000000
         TimeBetweenAttacks=0.800000
         Aggressiveness=0.900000
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:42 PM
Created with UnCodeX