Hello,
i've got a problem with DarkAI. (My first try with that)
If i create a sound at the player position, the enemy moves 1 step (Global Radius Size) and then stops.
And if there's no sound, and the player is moving (in the view range of the enemy), nothing happens.
The enemy is just turning into the direction of the player :S
Small video to show it:
http://www.youtube.com/watch?v=7ZOyl_h7faY&hd=1
if the player is jumping:
if ( dbSpaceKey ( ) )
AICreateSound ( dbObjectPositionX ( g_pPlayer->objectID ), dbObjectPositionZ ( g_pPlayer->objectID ), 999, 1000 );
enemy stuff:
if ( dbSpaceKey ( ) )
AICreateSound ( dbObjectPositionX ( g_pPlayer->objectID ), dbObjectPositionZ ( g_pPlayer->objectID ), 999, 1000 );
Can anybody help me? D:
e/ okay, its working
AISetEntityStance ( enemy_object, 1 );