05-22-2015, 12:01 AM
(This post was last modified: 05-22-2015, 01:03 PM by bashscrazy.)
MY GOALS:
Character 1 and Character 2 are on the same team and when they are both on same z axis and close to each other they both execute a move.
MY METHOD:
I am using loadtarget so I can make the ally a target for interaction.
MY PROBLEM:
When they aren't using the attack they aim their other attacks at each other. Particularly D>A and D>J they attempt to use those moves on each other because they are now marked as a target.
Is there a solution to this or an alternative method to execute a "team attack" without them trying to kill each other?
edit: idk why I'm trying to hide it, it's so obvious what I'm trying to do.
Basically I want to make Goku and Vegeta AI's fuse into Vegito during certain conditions, I haven't exactly implemented them in the code above fully because I wanted to see if it works, but as I stated, they try to attack each other sometimes.
edit2: also make it so when you use the move, they will chase towards you and use it. Is that possible? I tried and failed miserably.
Character 1 and Character 2 are on the same team and when they are both on same z axis and close to each other they both execute a move.
MY METHOD:
I am using loadtarget so I can make the ally a target for interaction.
MY PROBLEM:
When they aren't using the attack they aim their other attacks at each other. Particularly D>A and D>J they attempt to use those moves on each other because they are now marked as a target.
Is there a solution to this or an alternative method to execute a "team attack" without them trying to kill each other?
Here's my sh**** code if you want to look at it, idk if that will matter or help (Click to View)
edit: idk why I'm trying to hide it, it's so obvious what I'm trying to do.
Basically I want to make Goku and Vegeta AI's fuse into Vegito during certain conditions, I haven't exactly implemented them in the code above fully because I wanted to see if it works, but as I stated, they try to attack each other sometimes.
edit2: also make it so when you use the move, they will chase towards you and use it. Is that possible? I tried and failed miserably.
DBZ LF2 website
DBZ LF2 mod - DBZ LF2 v0.3.2 TRAILER - March 25, 2024
DBZ LF2 mod v0.3.2 (March 25, 2024): Download
DBZ LF2 mod - DBZ LF2 v0.3.2 TRAILER - March 25, 2024
DBZ LF2 mod v0.3.2 (March 25, 2024): Download