PlayMobileAmbientAnimations Avian

From NWN Lexicon


Contents

[edit] PlayMobileAmbientAnimations_Avian()

Avian creatures will fly around randomly.

[edit] Description

Avian creatures will fly around randomly.



[edit] Remarks

Uses a d4 to determine actions.

[edit] Requirements

#include " x0_i0_anims "


[edit] Version

???

[edit] 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();
    }
}

[edit] See Also

functions: 

PlayMobileAmbientAnimations_NonAvian



author: Baragg, editor: Mistress

Personal tools
Categories