PlayMobileAmbientAnimations_Avian()
Avian creatures will fly around randomly.
void PlayMobileAmbientAnimations_Avian();
Description
Avian creatures will fly around randomly.
Remarks
Uses a d4 to determine actions.
Requirements
#include "x0_i0_anims"
Version
???
Example
// If we see a PC lets move about.
// This script goes in the bird's OnPerception event.
#include "x0_i0_anims"
void main()
{
object oPC = GetLastPerceived();
if(GetIsPC(oPC))
{
// We preceive a PC so lets move about.
PlayMobileAmbientAnimations_Avian();
}
}
See Also
| functions: | PlayAnimation | PlayImmobileAmbientAnimations | PlayMobileAmbientAnimations_NonAvian |
| categories: | Animation Functions |
author: Baragg, editor: Mistress