Hi, Ryan
In general peds are different from agents, and any behavior different than going to the point, waiting or such must be
programmed manually.
"I want the police to move towards a certain pedestrian"
You can get x and y position of any ped while simulating. Then you could force the policeman to go to this position
constantly (creating some kind of loop that includes the pedGoto object and cancels it repeatedly when on cancel port
leads again to the same block) while doing that you should update the position of the target that this PedGoto block
leads to (put the x and y pos. of the followed ped) . While the position will be close enough you may add them to a
pedestrian group. Which would simulate escorting him to a jail.
"I also wanted sensors to trigger events if peds got within a certain range.. and notify police."
For that option you might use this :
-create an event with the cyclic mode
-in the action field calculate the distance between ped and other object of interest using sqrt((x2-x1)^2-(y2-y1)^2)
for multiple peds you will need to put them into a list while injecting and inside the event use "for" loop
calculating this distance for any of them.
-while result will be lover than required value call desired action.
"I want the illegal peds to be in a 'thirsty' state, where they slow down"
As long as I know theres no such method to change the particular pedestrian velocity on a run.
The only thing that you can do is to use pedArea feature within you can modify the speed with a factor or to desired
value, however this will work for all peds inside the area.
I have never done any similar things so those are only ideas, i am not sure that they will work, but i hope this will
help you to start.
Best Regards,
Tomas

