Hey I did this with a map I'm working on. I used a bit of a complex version because I wanted to use tentacles but ill explain what i did as the core guts to achieve what you want, actor wise you'll have to mod it to look how you want if you want to use a tentacle etc.....
Ability - target type
create persistent
persistent initial effect add buff to target unit (make persistent last as long as your ability or last forever with a destroy persistent at the end, your choice)
on buff that was added to target unit from the persistent;
regular periodic effect with periodic duration of .1, modification of minimum speed =12 (something high so they are pulled fast or slow depending on what speed you want) and initial/periodic effect of an effect (apply force)
effect apply force;
amount 1
Im at work so i can't look up the field, but one of the target fields is defaulted "Target" and the other is "effect - persistent effect name from above - source unit"
then add a validator on the force effect with the distance marker for how you want to only pull when at a certain range. Also if you use the destroy persistent way then you'd need to put the destroy persistent in the expire field of the buff applied to the target. I think its best to use a set time duration on the persistent in this case.
anyways it sounds like you're trying for the exact spell i made, hit me back with any questions
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Grapple - to seize another, or each other, in a firm grip, as in wrestling; clinch.
I can do the behavior, but I'm clueless on how to do the ability.
The ability should:
1. Apply Behavior
2. While Channeling
3. At a certain range only.
Also, if possible, allow the Grappler (channeler) to move with the target.
Help! Time is of the essence!
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.
Still want to learn this.
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.
Bumpang
Member since 2010. Made the -The Thing- [Revival] game. Nostalgic of the WC3 days.
well what you can do it used the infestors ability and use data complexity to make the unit follow direction of infestor with tirggers as well
Hey I did this with a map I'm working on. I used a bit of a complex version because I wanted to use tentacles but ill explain what i did as the core guts to achieve what you want, actor wise you'll have to mod it to look how you want if you want to use a tentacle etc.....
Ability - target type create persistent
persistent initial effect add buff to target unit (make persistent last as long as your ability or last forever with a destroy persistent at the end, your choice)
on buff that was added to target unit from the persistent; regular periodic effect with periodic duration of .1, modification of minimum speed =12 (something high so they are pulled fast or slow depending on what speed you want) and initial/periodic effect of an effect (apply force)
effect apply force; amount 1 Im at work so i can't look up the field, but one of the target fields is defaulted "Target" and the other is "effect - persistent effect name from above - source unit"
then add a validator on the force effect with the distance marker for how you want to only pull when at a certain range. Also if you use the destroy persistent way then you'd need to put the destroy persistent in the expire field of the buff applied to the target. I think its best to use a set time duration on the persistent in this case.
anyways it sounds like you're trying for the exact spell i made, hit me back with any questions