THISACTOR is a gamevar that refers to the current actor.
HOWEVER it is special cased in get/setplayer/sector to refer to the current player and sector (it is also special cased in get/setactor though this special casing shouldn't make any difference to behaviour).