I'm trying to create A unit that teleports every 5 seconds to a random target point in range. So once this unit is spawned it starts teleporting everywhere.
iv'e tried many things but can seem to figure it out.
Well, if your range is around 1-3 then I suppose you could specify every possible offset point, but larger than that it becomes unnecessary tedious and I don't know any other way in data to pick random point in location.
Therefore the way I would do it -> follow Trievas advice but make pereodic effect apply buff, then make a trigger which reacts to buff being applied and teleports unit to random point around him (Move triggering unit to a random point in region (position of unit, region radius)).
Hey,
I'm trying to create A unit that teleports every 5 seconds to a random target point in range. So once this unit is spawned it starts teleporting everywhere.
iv'e tried many things but can seem to figure it out.
thanks
@SwarmNerd: Go
Well, if your range is around 1-3 then I suppose you could specify every possible offset point, but larger than that it becomes unnecessary tedious and I don't know any other way in data to pick random point in location.
Therefore the way I would do it -> follow Trievas advice but make pereodic effect apply buff, then make a trigger which reacts to buff being applied and teleports unit to random point around him (Move triggering unit to a random point in region (position of unit, region radius)).
@DuckyTheDuck: Go
Agreed for distances over 4 radius.
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 about creating an invisible placeholder unit that wanders around the "creator"and then make the creator teleport to it?
Well, I know the guys are already helping I just wanted to throw a wild idea for it.
I have a directed, automatic blink in Incomewars, download it here at sc2m.
combine it with the random offset and periodic mentioned by Trieva and it should be no problem
edit: hero - nova has the ability, it is currently caused by a damage response behavior, change that to periodic
Thanks alot You guys are Awesome.