This example is rather more advanced and just one of ways how to make the enemy patrol in its own horizontal zone and got a sight effect that responds by imitating the seeing of player in specific distance and takes actions by it.
I hope its not too difficult to understand ^^;
Note: No variables used.
Sudgestions and examples with other ideas for this topic are welcome!
Example contains:
-Basic description in eventsheet
-Enemy with bullet behavour patroling in its own horizontal, customizable patrol zone
-Enemy chasing player on sight
File: dl.dropbox.com/u/5214903/GM/Enemy%20Patrol.zip