What I want is to have a cone (or triangle) will draw wherever the Line of Sight is facing, not just that but also change shape depending on if it's being blocked by a solid object or something.
Something similar to this:
<img src="http://img14.imageshack.us/img14/1595/after.png" border="0">
So far I've used a graphic for the job, which works except when there is a wall that's only one tile wide:
<img src="https://dl.dropboxusercontent.com/u/30381754/LineofSight.png" border="0">
I was thinking that it could be done with primitives, or going through the viewport position in a for loop and drawing a pixel if in line of sight, but neither appear to be included into Construct2 for some reason.
Any ideas?