Well, just use the normal character face-functions (depending on the version of AGS you use) and feed them the mouse location coordinates.
Example with AGS 2.62 or older:
Code: ags
Example with AGS 2.62 or older:
// this goes in repeatedly_execute
if ( GetCursorMode ( ) == MODE_SHOTGUN )
// if the shotgun mode is the current cursor mode
{
FaceLocation ( EGO, mouse.x, mouse.y );
}