• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Distance problem

Status
Not open for further replies.
Level 3
Joined
Sep 26, 2012
Messages
39
When I set 2 offset point 300 distance away from target point of ability being cast( in opposite ways ) and I use a 600 radius target image, the size of the target image is still way bigger than what my trigger suggests. What am I not understanding?

Also, is there a way to change the z offset of a lightning effect?
 
Level 3
Joined
Sep 26, 2012
Messages
39
I feel pretty silly right now... :) Thanks, that's what I needed! Any idea for the lightning with the z offset?
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
you need to use custom script for that:
JASS:
native AddLightningEx               takes string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns lightning
native MoveLightningEx              takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean

x/y/z 1 are coordinates from, x/y/z 2 are coordinates too(this doesnt matter that much anyway)
 
Status
Not open for further replies.
Top