Torque3D Documentation / _generateds / AITurretShapeData::StateData

AITurretShapeData::StateData

Engine/source/T3D/turret/aiTurretShape.h

More...

Classes:

State attributes

bool

Can only have one fire state.

bool

Perform a continuous scan looking for targets.

bool

Scale animation to fit the state timeout.

bool

Animation direction.

bool

Require the timeout to pass before advancing to the next state.

A timeout value; the effect of this value is determined by the flags scaleAnimation and waitForTimeout.

Main thread sequence ID.

const char *

Function on datablock to call when we enter this state; passed the id of the imageSlot.

Public Attributes

const char *

State name.

Public Functions

Detailed Description

Transition states

struct AITurretShapeData::StateData::Transition transition 

State attributes

bool fire 

Can only have one fire state.

bool scan 

Perform a continuous scan looking for targets.

bool scaleAnimation 

Scale animation to fit the state timeout.

bool direction 

Animation direction.

bool waitForTimeout 

Require the timeout to pass before advancing to the next state.

F32 timeoutValue 

A timeout value; the effect of this value is determined by the flags scaleAnimation and waitForTimeout.

S32 sequence 

Main thread sequence ID.

const char * script 

Function on datablock to call when we enter this state; passed the id of the imageSlot.

Public Attributes

const char * name 

State name.

Public Functions

StateData()