When a player becomes controlled these things occur to the controlled player
%Target.Camera.setMode("Corpse",%Target.player);
%Target.Controlled = 1;
I need to disable the ability to click while in observer when controlled so I do this
package SwollowMain
{
function Observer::onTrigger(%this,%obj,%trigger,%state)
{
if(%this.Controlled)
{
return;
}
else
{
Parent::onTrigger(%this,%obj,%trigger,%state);
}
}
};
ActivatePackage("SwollowMain");
but you can still click while in camera mode while controlled