# GetController

Objects
Crew
5.1 OC
int
Determines which player is currently controlling an object or has last controlled it. With crew members this is usually the owning player. With vehicles it is the owner of the clonk that has last grabbed or pushed it. Objects that are collected by living things automatically change their owner to the owner of the new container. If an object changes its owner (see SetOwner()), the controller is automatically set to the new owner.
The controller value is not affected by temporary control e.g. through SetCursor.
DoScore
(GetController(), 100);
Gives 100 score to the player controlling the calling object.
SetController
GetCursor
GetOwner
Sven2
2002-05