You can set those.
Pretty much, say you want your angle of view of the foe to be 180° (he can see anything to his front or sides)
do
loc = position of (enemy)
loc2 = position of (you)
Angle Between (loc) and (loc2) equal to facing of (enemy) Greater than or equal to - 90
Custom Script: call RemoveLocation( udg_loc )
Custom Script: call RemoveLocation( udg_loc2 )
loc = position of (enemy)
loc2 = position of (you)
Angle Between (loc) and (loc2) equal to facing of (enemy) Less than or equal to +90
Custom Script: call RemoveLocation( udg_loc )
Custom Script: call RemoveLocation( udg_loc2 )
+/- 90 because 2 90s make up 180. You can increae or decrease his field of view this way.
NOTE: DO NOT DO THESE IN CONDITIONS. The removing of leaks with
Custom Script: call RemoveLocation( udg_loc )
and
loc = position of (enemy)
Is vital, unless you want your map to end up like this:
L....
A...
G......
G....
Y...........................
Therefore, use a if then else multiple conditions in the actions, and put the anti leaking triggers AROUND it.
--donut3.5--