I'm making "lasers" for my star wars game. So far I've made them into locust-based units that fly using a periodic trigger that detects nearby enemies and explodes doing damage when they come into contact.
I didn't see a tutorial on this, but I know it's been done before. Is there any advice for the following problems:
1. making the lasers fly straight over terrain
2. making the lasers impact on cliffs rather than fly over them
Thanks, and any general advice is welcomed, you don't have to write the whole triggers or anything. Note that I am experienced with the world editor but not with JASS.
I didn't see a tutorial on this, but I know it's been done before. Is there any advice for the following problems:
1. making the lasers fly straight over terrain
2. making the lasers impact on cliffs rather than fly over them
Thanks, and any general advice is welcomed, you don't have to write the whole triggers or anything. Note that I am experienced with the world editor but not with JASS.