Difference between revisions of "Ambient OverrideBehaviour"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 11: Line 11:
 
|param3name = fAnimFreq
 
|param3name = fAnimFreq
 
|param3desc = The override animation frequency.
 
|param3desc = The override animation frequency.
|param4type = float
+
|param4type =  
|param4name = fAnimFreq
+
|param4name = nOverrideCount
 
|param4desc = The number of times the override animation pattern is to be played (-1 for infinite).
 
|param4desc = The number of times the override animation pattern is to be played (-1 for infinite).
 
|returntype =
 
|returntype =

Revision as of 13:32, 31 January 2011

Overrides a creature's predefined ambient behaviour.

[[ keyword|]] Ambient_OverrideBehaviour(
object oCreature,
[[ keyword|]] nAnimPattern,
float fAnimFreq,
[[ keyword|]] nOverrideCount
);
Parameters:
oCreature
The creature performing the ambient behaviour.
nAnimPattern
The override animation pattern (index into ambient_ai.xls).
fAnimFreq
The override animation frequency.
nOverrideCount
The number of times the override animation pattern is to be played (-1 for infinite).
Returns:

[Undocumented]

Source:

sys_ambient_h

Description

Overrides the ambient behaviour animation pattern and animation frequency defined by the creature template. -1.0 to play all animations in order

Remarks

See also