Vision Detection Spell (Stone Gorgon Sight)?

Level 4
Joined
Feb 18, 2011
Messages
62
For my map I am solving one problem after another, but I stumbled upon this. I opened up hive to find help on this, and I did find multiple upon multiple backstab spells/triggers. However, I am terrible at Trigonometry and cannot tweak them enough to get my solution :cry:

To start with, there are 2 units and the "vision" of each unit is 90 degrees, and I can get TargetUnit/CastingUnit and their facings(along with the angle difference of their facings and angle between their points)
So, if "both units see each other" then stuff happens
else nothing

Whoever can help on this, do use JASS or GUI only please:sad:
 
Level 4
Joined
Feb 18, 2011
Messages
62
Wow. I did use only the first function and it works like a charm :thumbs_up:
You cannot imagine the effort you saved me from (upgrading all backstab spells I found/reading multiple pages of trigonometry)

+Rep to you and MoCo :grin:
 
Top