Thanks, that works.
Now, by using that function, I should be able to control this:
function DoomNukeImage::onMount(%this, %obj, %slot)
{
$nukesAllowed = 1; //1 for yes, 0 for no, changeable by below server command
if(!%obj.client.issuperadmin)
{
messageclient(%obj.client,"","\c2You are not SuperAdmin!");
%obj.unMountImage(DoomNukeImage);
return;
}
else
{
if(!$nukesAllowed = 1)
{
%obj.unmountImage(DoomNukeImage);
%obj.mountImage(1, FlopNukeImage);
}
}
Parent::onMount(%this, %obj, %slot);
}
by using the NukesAllowed variable, correct? If so, then I have a problem, because the script doesn't work as-is. (The "doomNukeImage" doesnt unmount) Also, if order matters, this script comes BEFORE the server command on the code line.