I'm wanting to have a spell (say, Feedback), and have the caster channel for up to two seconds. The longer the spell channels the more range it has. How would I go about doing this?
Use a create persistent effect that is channelled and can be interrupted that adds buff stacks that a switch effect then uses to determine the final range.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Use a create persistent effect that is channelled and can be interrupted that adds buff stacks that a switch effect then uses to determine the final range.
How can I use a switch effect to determine the final range?
From what I understand you want an ability you target at a point and based on how much channel time occurs the range the projectile travels increase proportionately. This can be done with different Create Persistent effects or Launch Missile effects with different movers. You can then have a Switch effect choose using Unit Compare Behavior Count type validators.
If you want two separate channel and then cast abilities you could use a combination of Combine validators that use Location Range and Unit Compare Behavior Count type validators on the first effect of the ability
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
First the unit casts the Meditation ability, which slows their movement speed and allows them to cast Feedback for three seconds. This works fine.
If Meditation was used for 0-1 seconds before Feedback, Feedback to be cast with range 6. If Meditation was used for 1-2s before Feedback, Feedback to be cast with range 8. If Meditation was used for 2-3s before Feedback, Feedback to be cast with range 10. The only solution I can think of, periodically increasing an upgrade level to increase Feedback's range, won't work as the player has multiple units that can use Meditation, and therefore look to use Feedback at different ranges at the same time.
If you want two separate channel and then cast abilities you could use a combination of Combine validators that use Location Range and Unit Compare Behavior Count type validators on the first effect of the feedback ability.
The Meditation ability adds buff stacks while channelled which are counted by the Unit Compare Behavior Count type validator with greater than or equals logic under an AND logic Combine type validator with a Location Range validator that compares the target is less then or equals to the leash. The combines are then under another combine with OR logic so it allows further casting if there are more buff stacks. This could be combined with a Range type actor to show the various cast ranges.
I'm wanting to have a spell (say, Feedback), and have the caster channel for up to two seconds. The longer the spell channels the more range it has. How would I go about doing this?
Use a create persistent effect that is channelled and can be interrupted that adds buff stacks that a switch effect then uses to determine the final range.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
How can I use a switch effect to determine the final range?
From what I understand you want an ability you target at a point and based on how much channel time occurs the range the projectile travels increase proportionately. This can be done with different Create Persistent effects or Launch Missile effects with different movers. You can then have a Switch effect choose using Unit Compare Behavior Count type validators.
If you want two separate channel and then cast abilities you could use a combination of Combine validators that use Location Range and Unit Compare Behavior Count type validators on the first effect of the ability
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Feedback is a point and click ability that deals (energy) damage to the target unit, no projectile or anything. Your proposed solution wouldn't work.
So you are saying the ability has several ticks and the longer it channels the longer the leash range gets?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
What I'd like exactly is the following:
If you want two separate channel and then cast abilities you could use a combination of Combine validators that use Location Range and Unit Compare Behavior Count type validators on the first effect of the feedback ability.
The Meditation ability adds buff stacks while channelled which are counted by the Unit Compare Behavior Count type validator with greater than or equals logic under an AND logic Combine type validator with a Location Range validator that compares the target is less then or equals to the leash. The combines are then under another combine with OR logic so it allows further casting if there are more buff stacks. This could be combined with a Range type actor to show the various cast ranges.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg