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

# Tyrion.IFollowFunction

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

    //=====================================================================
    // IFollowFunction
    //
    // Defines a function called 'offset' that can be "passed in" to
    // script functions by passing in a class that implements this interface
    //=====================================================================

    interface IFollowFunction;

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

    // should offset be updated?
    function bool updateOffset( Pawn follower, Pawn leader, int positionIndex );

    // offset from leader pawn to actual location follower wants to go to
    function Vector offset( Pawn leader, int positionIndex );

    // is a given location a valid place to follow to?
    function bool validDestination( Vector point );

    // how close do you want to get to the target?
    function float proximityFunction();

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.596 - Created with UnCodeX