ID:180836
 
How do I make it so a mob chases you, attacks you, and does damage? Also, how do I make it so I can attack back with different techniques that have seperate animations? Thanks for the help,

Gilser
On 2/3/01 12:12 am Gilser wrote:
How do I make it so a mob chases you, attacks you, and does damage? Also, how do I make it so I can attack back with different techniques that have seperate animations? Thanks for the help,

Gilser

There is a tutorial on icon files and animation...

Read the icon tutorial here.

And you can check out the Step BYOND tutorial source code. You can use that as a starting point.

It has a rat that will follow you if you have cheese, which can be the start of your chase code.

The rat and the witch will attack using animations. They don't do actual damage, but it will be easy for you to add that.

You can download the Step BYOND source code here.

The source code is fully commented and explains how animations work and such. If you find that hard to understand, then I would suggest stepping back a bit and going through the 7 steps listed on the developer's Start Here page so you learn the BYOND basics.

The developer Start page is here.