Page 1 of 1

AI

PostPosted: Thu Feb 26, 2004 2:22 am
by hobgoblin
now...
i'm with some problems in make my AI

i need the enemy walk and shot

how do i do that?

PostPosted: Thu Feb 26, 2004 2:51 am
by hobgoblin
forget it, i just found out how to make it walk

but i don;t know how to shoot in random time

PostPosted: Thu Feb 26, 2004 5:38 am
by jazz_e_bob
Shoot at random time?

Create a random timer.
On the timer event the actor shoots at the good guy!

PostPosted: Thu Feb 26, 2004 10:36 pm
by Just4Fun
(OFF Topic)

Jazz-e-bob:

"Long Live AMOS!" :wink:

You know, I still have a couple of promotional postcards for the Amiga. I have them hanging on my 'wall of nostolgia'. I look at those cards everyday. Nothing compares to the excitment I felt over the launch of that machine. Or for that matter, over the first Atari 400 that I saw in a small retail shop many years ago now... :lol:

PostPosted: Fri Feb 27, 2004 1:17 am
by hobgoblin
jazz_e_bob wrote:Shoot at random time?

Create a random timer.
On the timer event the actor shoots at the good guy!


i don't know how to create timers yet :oops:

PostPosted: Fri Feb 27, 2004 2:51 am
by jazz_e_bob
"Long Live AMOS!"


Those were the days.... :)

When you create an actor you can create timers.

There is a good example of timers in the Moon Defender tutorial.