SNPC TASK_SET_GOAL

I am trying to set up some npc’s that will just walk around to a point. What I can’t figure out is what argument would get placed in [lua]schd:EngTask( “TASK_SET_GOAL”, ??? ) [/lua] If i understand correctly it would be in s chedule then you could use [lua]schd:EngTask( “TASK_SET_GOAL”, ??? )
schd:EngTask( “TASK_GET_PATH_TO_GOAL”, 0 )
schd:EngTask( “TASK_WALK_PATH”, 0 )[/lua] Am I just using it incorrectly or do I need to do this in a different way.