If (cChar2.FollowCharacter(cChar3));
This should be invalid code but it may be a leftover from old things in ags3 and we definitely should throw an error in there on ags4.
In 3.6.2 beta and forwards we added Character.Following.
https://adventuregamestudio.github.io/ags-manual/Character.html#characterfollowing
Other than this it would be interesting if you could explain more of what you are trying to accomplish.