I have successfully got 2 out of the 3 validator checks I need working on a SINGLE Behavior Buff method for disabling and enabling the Jumping Behavior.
I used Unit Compare Order Count to check if there is a Move Order.
I then used a Unit Compare Order Target Range to check that the Unit is within 3 range of the destination.
Now I just need to compare the Cliff Levels of the Destination and the Unit.
The problem is that I need to get the Destination somehow.
I would normally use a Create Persistent Effect or something and use its Target Point, but I can't attach effects to the default move ability, and augment doesn't trigger from the right-click move commands like I need.
How can I pass the current Move Order's Target Point to a Cliff Compare Validator, from a Buff Behavior?
EDIT: Is there a way to pass the Target Point of one Validator to another one in a Combine Validator(or any other such validator?)?
I have succeeded in creating a consistent and reliable chain of 2 abilities, 2 behaviors, 10 effects, and 6 validators that will automatically add or remove the Jump Behavior as needed as the unit is issued move commands. The best part is that this chain is standard and generalized. I don't need to duplicate a unique chain for each Unit I want to have this functionality. I just need to give the Unit the 2 abilities and the Jump Behavior.
(there is also no use of Persistent Effects or Periods)
I also learned how to circumvent the standard move command, and replace it with one of my own so I can track player initiated right-click issued move orders.
Thank you, to all three of you for your help.
One final question:
I would like to make an example map of this.
Is there a way to easily transfer just a select group of objects into a new map?
Or is my best bet to just copy the map and reset everything I don't want in it?
(:P I guess thats technically two questions. lol )
You can actually copy paste data, but you have to make sure in which order you add them, starting with the basic things that does not link to anything going up to things that links to everything, kind of. It should not be that hard to do.