Hello mapster, i need your help!
im trying to do a terrain-sensitive beam, it should will follow terrain height differences
currently i ended up on this solution:
Ability
V
Persistent effect with target point and 2 effects: 1) actual gameplay effect (0-arc search effect, resulting a line spell)
V
2) Persistent effect with source point location and periodic effects (create dummy) with offsets like
(0,-4,0),(0,-8,0),(0,-12,0),(0,-16,0)
V
after a small delay it casts search effect from caster unit to find first dummy
V Here comes problem #1 - i dont know how to link those dummies other than just search for them
but its working, search effect applies behavior *Marker*, who have initial effect
V
Initial effect <persistent> called "Delay", who after 1 second of delay casts <search area> effect to find second dummy and apply behavior *Marker* to it
and this is repeating till my line of dummies ends
im applying behaviors because i've failed to use markers, they simply dont work
so this all chain works acceptable and then i failed on graphics side
i need beam between dummies, what i've tried:
simple beam actor create @behavior<marker>, host1: scope source, host2: scope target
after several hours i've concluded that this is fail and i started trying just determine source and target when effect applies
effect #1, marking source is just sphere with host set to ScopeSource, _Site (that alias of my dummy unit actor)
effect #2, marking target, sphere with host set to ScopeTarget, _Site (that alias of my dummy unit actor)
i've tried again to create them on behavior, or effect with various terms like "at Target" or "at source" or "effect.impact; at target" or etc
this was again fail, i feel like im detecting source and target for effect in the wrong way
so, my problems are:
1 Create a beam that follows terrain deformations (solved through periodic offsets dummy creation)
2 Create a bunch of dummies and link them between each other (solved through search effects recursion - dummy receives behavior, search for next dummy without behavior and then apply behavior on it)
3 Create visible beam between dummies when they're searching for each other <HELP NEED HERE>
4 Ability or advice how to detect target and source for effect. Basically this is what i need, if i only can create actor like:
create at effect, set host1 to target, set host 2 to source - my job here's done
Hello mapster, i need your help! im trying to do a terrain-sensitive beam, it should will follow terrain height differences
currently i ended up on this solution:
Ability
V
Persistent effect with target point and 2 effects: 1) actual gameplay effect (0-arc search effect, resulting a line spell)
V
2) Persistent effect with source point location and periodic effects (create dummy) with offsets like (0,-4,0),(0,-8,0),(0,-12,0),(0,-16,0)
V
after a small delay it casts search effect from caster unit to find first dummy
V Here comes problem #1 - i dont know how to link those dummies other than just search for them
but its working, search effect applies behavior *Marker*, who have initial effect
V
Initial effect <persistent> called "Delay", who after 1 second of delay casts <search area> effect to find second dummy and apply behavior *Marker* to it
and this is repeating till my line of dummies ends
im applying behaviors because i've failed to use markers, they simply dont work
so this all chain works acceptable and then i failed on graphics side
i need beam between dummies, what i've tried:
so, my problems are:
assets:
uhhh thx to all who've read this, but somehow i've found solution, i just host beam to _site actor and use target point + source point attachments