Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Tyrion.IWeaponSelectionFunction

00001 00002 00003 00004 00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023

    //=====================================================================
    // IWeaponSelectionFunction
    //
    // Defines a function for selecting the best weapon for a given AI
    // and situation
    //=====================================================================

    interface IWeaponSelectionFunction;

    //=====================================================================
    // Functions

    // weapon to use in the current circumstance
    function Weapon bestWeapon( Character ai, Pawn target, class<Weapon> preferredWeaponClass );

    // best range at which to shoot weapon
    function float firingRange( class<Weapon> weaponClass );

    // are conditions met for firing this weapon?
    function bool bShouldFire( BaseAICharacter ai, Weapon weapon );

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Class file time: ne 5.9.2004 15:54:24.000 - Creation time: st 23.5.2018 00:10:44.796 - Created with UnCodeX