ID:138128
 
howdy , I am trying to define a proc for a mob that will walk_to a pc when it sees the pc with look

i was thinking..

proc
{
look()
{
usr << "attack message"
dir = get_dir(src,usr)
walk_to = get_loc
}

}

however i am not sure of the syntax here, is there any possible way to track a pc with line of site? I know that the rat in the tutorial tracked the cheese with line of site...

Any insite GREATLY appricated! =)