private void CharCoordMenuEventHandler(object sender, EventArgs e)
{
int tempx = _selectedCharacter.StartX;
int tempy = _selectedCharacter.StartY;
//this halves the coordinates of the x and y values
//if you have low res coordinates set in the properties and are in high res
if ((Factory.AGSEditor.CurrentGame.Settings.UseLowResCoordinatesInScript) &&
(_room.Resolution == RoomResolution.HighRes))
{
tempx /= 2;
tempy /= 2;
}
string textToCopy = tempx.ToString() + ", " + tempy.ToString();
Utilities.CopyTextToClipboard(textToCopy);
}