Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ball teleport to other enemy
#1
Well, i want to create a ball that when it hits any player, it teleports to the other enemy and hit him. If u have any idea on how to do this please reply.
Regards,
A-MAN
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#2
Maybe you could elaborate a little more on who the "other enemy" is supposed to be exactly?
Quote of the Day f***ing Year (Click to View)
Reply
Thanks given by: A-Man
#3
i think he means, when it touches someone in team A, it will teleport to someone in team B and hits them.
one way to do this is to have an itr in every character in every frame that hits the ball in a unique location (that makes it go on that player's team), then it goes to state: 400 (enemy tp iirc) then does its attack.

you probably don't want to modify every char, but maybe you can live with when the char attacks the ball, then in its hit frames (frame 10 or 20, can't remember), it has state: 400. do you attacks there



Azriel~
Reply
Thanks given by: A-Man
#4
Deemed solved. Thanx Azriel!
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)