I have a behavior with a periodic search effect which drains a targets energy. I have a nice beam actor coming out using a create persistent and persistent until destroy flag. I use a range validator to destroy the persistent when the target moves outside of range. My actors are simple start persistent create and stop persistent and destroy. I have my search area set to a maximum of 3 targets.
My periodic effect occurs every second. Problem is the beam hits the same target 3 times instead of only once. I tried putting the no markers validator on the search and create persistent effects but that didn't work.
I'm thinking I need to setup some terms in the actor but I'm not sure which ones.
I have a behavior with a periodic search effect which drains a targets energy. I have a nice beam actor coming out using a create persistent and persistent until destroy flag. I use a range validator to destroy the persistent when the target moves outside of range. My actors are simple start persistent create and stop persistent and destroy. I have my search area set to a maximum of 3 targets.
My periodic effect occurs every second. Problem is the beam hits the same target 3 times instead of only once. I tried putting the no markers validator on the search and create persistent effects but that didn't work.
I'm thinking I need to setup some terms in the actor but I'm not sure which ones.
Use the persistent to create the beam. Or are you saying your persistent is applied three times?
Also look at my power line demo map since that has several actor systems to help clean up beams.
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