If you want to do it with trigger (which is the easiest way), you can make a trigger that fires when the drop pod unit dies. After that, you can create a region around this unit that will set properties to every picked unit in this region. I've attached an example at the bottom of the page.
If you want to do it with datas (which is the most efficient way), you must make a behavior that has a timed life and creates an effect when the pod dies and this behavior will do a 'create persistent' effect. This will do a 'search area' effect and this will create a 'damage' effect.
For example, you can take the broodling timed life behavior as an example and for the region effect, the gardian shield ability should be the best example for you.
what do you mean by most efficient way? which method will make the effect look more realistic? If the data, how will I go about it in the data editor, I'm still unsure about using the data editor, could you send a pic? Thx
The result of these 2 ways are almost identical : the only difference is that via trigger you can set a % damage or fixed damage and via data you can only set a fixed damage (but you can modify the damage number depending of the attributes of the units).
You must understand that if you choose the trigger way, it means that every time an unit will die in your map, this trigger will starts. If you want to use your drop-pod for a specific time in the game, like at the beginning or during a cinematic, I strongly recommand you to turn on this trigger and turn it off after the period.
Here is an example of the data way. I'm not sure at 100% if it will works, but it might gives you a good example.
Hi, how can I make the Zerg Pod damage units upon impact?
You want to do that with triggers or datas?
If you want to do it with trigger (which is the easiest way), you can make a trigger that fires when the drop pod unit dies. After that, you can create a region around this unit that will set properties to every picked unit in this region. I've attached an example at the bottom of the page.
If you want to do it with datas (which is the most efficient way), you must make a behavior that has a timed life and creates an effect when the pod dies and this behavior will do a 'create persistent' effect. This will do a 'search area' effect and this will create a 'damage' effect.
For example, you can take the broodling timed life behavior as an example and for the region effect, the gardian shield ability should be the best example for you.
what do you mean by most efficient way? which method will make the effect look more realistic? If the data, how will I go about it in the data editor, I'm still unsure about using the data editor, could you send a pic? Thx
The result of these 2 ways are almost identical : the only difference is that via trigger you can set a % damage or fixed damage and via data you can only set a fixed damage (but you can modify the damage number depending of the attributes of the units).
You must understand that if you choose the trigger way, it means that every time an unit will die in your map, this trigger will starts. If you want to use your drop-pod for a specific time in the game, like at the beginning or during a cinematic, I strongly recommand you to turn on this trigger and turn it off after the period.
Here is an example of the data way. I'm not sure at 100% if it will works, but it might gives you a good example.