Be a Supporter!

An Mc Following Another One (as2)

  • 297 Views
  • 6 Replies
New Topic Respond to this Topic
AshSamael
AshSamael
  • Member since: Jan. 19, 2004
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
An Mc Following Another One (as2) 2009-02-12 20:29:58 Reply

I've already created about a thousand of such threads, but no one can give me an answer. I need a script that will make an MC follow the directions of another one. Kinda like an enemy AI. Can anybody help me out?


HEADSHOT!

BBS Signature
TheSongSalad
TheSongSalad
  • Member since: Jan. 17, 2009
  • Offline.
Forum Stats
Member
Level 19
Audiophile
Response to An Mc Following Another One (as2) 2009-02-12 20:32:00 Reply

you want one bad guy to follow instructions of the other? you could just give them separate AI's but make the follower seem like he's following commands. way easier.

AshSamael
AshSamael
  • Member since: Jan. 19, 2004
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to An Mc Following Another One (as2) 2009-02-12 20:57:24 Reply

Nah, I need an enemy to follow the main character.


HEADSHOT!

BBS Signature
Irrelephant
Irrelephant
  • Member since: May. 4, 2008
  • Offline.
Forum Stats
Member
Level 34
Blank Slate
Response to An Mc Following Another One (as2) 2009-02-12 21:04:49 Reply

Well, here's a bunch of people asking for the same thing. Maybe you can find an answer that suits you.


Formerly known as Headshot777
The Newgrounds BBS is like a woman. All the teenagers who get into it make a terrible mess within two minutes. -Jercurpac

BBS Signature
AshSamael
AshSamael
  • Member since: Jan. 19, 2004
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to An Mc Following Another One (as2) 2009-02-12 21:15:48 Reply

THANKS A LOT, DUDE! I FINALLY FOUND IT!


HEADSHOT!

BBS Signature
Patcoola
Patcoola
  • Member since: Mar. 7, 2003
  • Offline.
Forum Stats
Member
Level 60
Animator
Response to An Mc Following Another One (as2) 2009-02-12 21:16:21 Reply

At 2/12/09 08:29 PM, AshSamael wrote: I need a script that

theres your problem right there, it is a well know unwritten rule not to give out full scripts,
cause you become reliant to the author and you dont learn anything.

Can anybody help me out?

help/guide yes, post your idea or part script and we can help you build on it as you learn.

lets thing about what you want for a minute.
you want a MC for follow another.
the first step in a progression is to make a MC move from point A to point B right,
second is point A is MCs spawn point, point B is the other MCs X and Y,
try this first.

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to An Mc Following Another One (as2) 2009-02-12 22:26:07 Reply

AS: Rotate and Follow Mouse by UnknownFury

You'll have to change _xmouse, _ymouse to be mc._x, mc._y but it's the same principle


- - Flash - Music - Images - -

BBS Signature