Challenging spell question

MintJulep

New Member
Reaction score
4
Let's say there's a spell that creates caravans that channel lightning between them:



392d4a36ab.jpg




As individual caravans move around in different directions and speeds, the lightning channelling between moves with them as well, changing the overall shape of the formation.

The question is: What's the best method of making the lightning damage any units that walk through it?
 

Dirac

22710180
Reaction score
147
Integer A from 1 to Distance between units/10

Set Slide = Slide + Distance Between units/10
Pick every units in Position of unit Offset by Slide towards angle between units and do (Actions)

Dmg unit :D


Handwritten, hope that useful too
 

MintJulep

New Member
Reaction score
4
If we had a 5x5 grid of caravans set 400 units apart from each other, that would make a total of 2000 points the trigger handles each run-through. Set to periodically trigger every .2 seconds, that's 10000 points created and handled every second, in addition to the picking every unit action - so I'm worried if lag might be an issue for that particular method.
 

igor1222

New Member
Reaction score
2
Why not just go along with what Dirac said, and then keep it to players only, who got Blink? Then it's a Survival Map, on another level :b
Then you need to put a big cooldown on Blink, so you can't use it carelessly.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top