|
Post by Darien on Oct 8, 2004 13:07:40 GMT -5
Listen, the things I wanted to ask you are (they're all needed for my new RPG game): 1) Adventure Battle System a) I sorta managed to make the Hero that has HP and so on, and he can slash with the sword.... b) How can you make the enemy walk towards you when it sees you and when it reaches you how to make it attack periodicaly.(like attack....(2sec pause)....attack.... so on.....) c) when I get near the enemy it walks a bit awkard. I tried to make a script in which I make it that he tracks down your position (if in sight range) and walk to you (mp_potential_step), and inside it to make him change sprite according to his rounded down direction (I hope this makes sense).I would appreciate even if you tell me how to make him go squarry(you know, like: Legend: X = enemy; H = hero; lines = path X | | |--->--->------H instead of going directly to Hero's X and Y coord.) ;D
|
|
|
Post by IsmAvatar on Oct 8, 2004 13:54:26 GMT -5
to check if he's in line of sight, you can use collision_line to walk on a grid, there's a set of functions called mp_grid or something like that, further down from the basic mp functions. Registered users only.
|
|