Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
Hedge on FXCM, 4 or 5?
by Martin_HH. 02/16/26 16:09
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 6,903 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Enemy movement #130620
05/18/07 21:05
05/18/07 21:05
Joined: May 2007
Posts: 43
Austin, TX
Afox Offline OP
Newbie
Afox  Offline OP
Newbie

Joined: May 2007
Posts: 43
Austin, TX
I am using the template shooter_project script. My enemy has the aifps01 guard action attatched. He moves and attacks at the same time therefore only playing the attack animation giving a sliding effect. Also he continues to move when colliding with the player so even if the attack animation has a walk cylce in it to eliminate the sliding effect, he still walks while colliding with the player creating a moonwalk like effect.

How do I change the script so the enemy will attack, then walk then attack, walk, attack and so on untill he comes into a certain range of the player and then uses attack only untill the fight is over?

I don't know how to write code so if you know how to do this would you please post the code and tell me where I need to put it in the script.

thank you.

A.


A7.86 Pro/Artist
Alex's 3D
Re: Enemy movement [Re: Afox] #130621
05/19/07 16:45
05/19/07 16:45
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
You might get a better response on the Templates forum.
Most of the guys posting here are not fans of the templates.

It may be something you can fix in the enemies behavior panel.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1