Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.MatSubAction


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
//=============================================================================
// MatSubAction: Base class for Matinee sub actions.
//
// A Matinee action can have any number of sub actions.  These sub actions
// are executed while the main action is running.
//=============================================================================

#exec Texture Import File=Textures\SubActionFOV.pcx Name=SubActionFOV Mips=Off
#exec Texture Import File=Textures\SubActionTrigger.pcx Name=SubActionTrigger Mips=Off
#exec Texture Import File=Textures\SubActionOrientation.pcx Name=SubActionOrientation Mips=Off
#exec Texture Import File=Textures\SubActionFade.pcx Name=SubActionFade Mips=Off
#exec Texture Import File=Textures\SubActionGameSpeed.pcx Name=SubActionGameSpeed Mips=Off
#exec Texture Import File=Textures\SubActionSceneSpeed.pcx Name=SubActionSceneSpeed Mips=Off
#exec Texture Import File=Textures\SubActionCameraShake.pcx Name=SubActionCameraShake Mips=Off

class MatSubAction extends MatObject
    abstract
    native
    editinlinenew;

enum ESAStatus
{
    SASTATUS_Waiting,   // Waiting to execute
    SASTATUS_Running,   // Is currently executing
    SASTATUS_Ending,    // Is one tick away from expiring
    SASTATUS_Expired,   // Has executed and finished (ignore for rest of scene)
};

var(Time)       float       Delay;      // Seconds before it actually executes
var(Time)       float       Duration;   // How many seconds it should take to complete

var             texture     Icon;       // The icon to use in the matinee UI
var             ESAStatus   Status;     // The status of this subaction
var localized   string      Desc;       // Desc used by the editor and engine stats

var             transient float     PctStarting;
var             transient float     PctEnding;
var             transient float     PctDuration;

defaultproperties
{
     Desc="N/A"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fr 30.3.2007 08:43:36.000 - Creation time: Mo 16.4.2007 11:20:50.000 - Created with UnCodeX