I'm making an item that unmounts itself upon mounting and makes the player use the spray can instead (it's a long story).
unmountImage doesn't seem to be working though.
I didn't parent it because this is the only thing I want onMount to do.
function sprayCanImage::onMount(%this,%obj,%slot) {
%obj.unMountImage(%slot);
serverCmdUseSprayCan(findClientByName(%obj.client.name));
Parent::onMount(%this,%obj,%slot)
}