AI

Non-platform specific questions.

AI

Postby hobgoblin » Thu Feb 26, 2004 2:22 am

now...
i'm with some problems in make my AI

i need the enemy walk and shot

how do i do that?
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby hobgoblin » Thu Feb 26, 2004 2:51 am

forget it, i just found out how to make it walk

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

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby jazz_e_bob » Thu Feb 26, 2004 5:38 am

Shoot at random time?

Create a random timer.
On the timer event the actor shoots at the good guy!
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby Just4Fun » Thu Feb 26, 2004 10:36 pm

(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:
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby hobgoblin » Fri Feb 27, 2004 1:17 am

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:
__________

i'm noob =P
__________
hobgoblin
 
Posts: 97
Joined: Sat Feb 21, 2004 5:10 pm
Location: BEHIND YOU!!!
Score: 0 Give a positive score

Postby jazz_e_bob » Fri Feb 27, 2004 2:51 am

"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.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest