Making Zombies

Started by Khristian Cammilleri, Sat 18/07/2009 15:52:49

Previous topic - Next topic

Khristian Cammilleri

Hi!  ;D This Is My First Post...
I need Help in Creating a good System for zombies..

Any Ideas?

This is What i Did But It's Not Nice At All  :-\
First I Make them follow me (FollowCharacter) And Then Attack If They Are Very close...(IsCollidingWithChar)

But How Can I Do To Finish Them?
I Made A New Function (smash) :o
So..when I Call that function..Character Animates Smashing The zombie...

Please If You Have Any Ideas Answer...
Thanks For All
PizzaNostra!

Khristian Cammilleri

Oh! One More Thing...
Where Should I Put All This Script?
Global Script? ???
PizzaNostra!

TerranRich

All custom functions should be put into the global script, with an import statement for it in the global header. Search for "function" in the AGS manual.

If you mean where should you call the actual function to make it work... wherever you need it to run. This is a question that gets asked all the time and is really very simple... if you want to run a command whenever the player enters a room after fade-in, then put it in the function that runs when the player enters a room after fade-in. Simple as that.
Status: Trying to come up with some ideas...

Khristian Cammilleri

Ok ;)
I Will Try How It Works
Thanks! ;D
PizzaNostra!

SMF spam blocked by CleanTalk