blocked = 0;
if collision_line(x,y,obj_guy.x,obj_guy.y,obj_wall,false,true)
{
blocked = 1;
}now he has an 360° endless view pretty superhuman, but i want him a bit realistic.idealy i would like to have an moving view (not an gamemaker view but what the enemy sees) with an limited range, much like from the "comandos", "desperados wanted death or alive" and "robin hood legend of sherwood" titles, if anyone had an code to do that that would be awsome.
Otherwise an 180° view with limited range witch is stationary with the guy, but ofcouse "walks" together with him.
With that said, if that would be possible, how could i make the view visable to the player?
using GM81 lite
Thanks alot in advance!
Edited by monsterbrum, 28 May 2012 - 06:39 PM.











