Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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