Blockland Forums > Help
Zombies in a Slayer Mini Game
Pages: (1/1)
Soildaa:
I created a Slayer Mini Game so I could leave it if I wanted to (I'm the creator of the mini game). There's a button that makes a spawn point spawn a zombie tank...the tank doesn't move at all. Is there a way to enable zombies/ or a Slayer Minigame that lets you enable them?
Pacnet2012²:
You have to somehow figure out how to open this GUI :
Pacnet2012²:
--- Quote from: Pacnet2012² on July 31, 2012, 03:37:13 PM ---You have to somehow figure out how to open this GUI :
--- End quote ---
--- Code: ---// +-------------------------------------------+
// | ___ _ _____ __ __ ____ ____ |
// | | __| | | | /_\ | \ \/ / | ___| | /\ | |
// | |__ | | |_ | _ | \ / | __| | \/ / |
// | |___| |___| |_| |_| |__| |____| |_| \\ |
// | Greek2me Blockland ID 11902 |
// +-----------------------------+-------------+
// | DO NOT EDIT BELOW THIS LINE |
// +-----------------------------+
$Slayer::Server::Compatibility::Gamemode_ZAPT = 1;
// +--------------------+
// | Packaged Functions |
// +--------------------+
package Slayer_Compatibility_Gamemode_ZAPT
{
function Slayer_MinigameSO::onAdd(%this)
{
parent::onAdd(%this);
if(isFunction(Slayer_MinigameSO,assembleZombieGame))
{
%this.ZAPT_Enabled = 1;
%this.ZAPT_Gamemode = 1;
%this.assembleZombieGame();
}
}
function zombieValidTarget(%obj,%target)
{
%mini = getMinigameFromObject(%obj);
if(isSlayerMinigame(%mini) && !isObject(%mini.owner))
{
%mini.owner = new AiConnection()
{
minigame = %mini;
};
%par = parent::zombieValidTarget(%obj,%target);
%mini.owner.delete();
%mini.owner = "";
return %par;
}
return parent::zombieValidTarget(%obj,%target);
}
function zombieSameGame(%objA,%objB)
{
return parent::zombieSameGame(%objA,%objB);
}
};
activatePackage(Slayer_Compatibility_Gamemode_ZAPT);
Slayer_Support::Debug(2,"Compatibility File Loaded","Gamemode_ZAPT");
--- End code ---
Greek2me:
ZAPT support is coming in the next update.
--- Quote from: Pacnet2012² on July 31, 2012, 03:37:13 PM ---You have to somehow figure out how to open this GUI :
--- End quote ---
That GUI is useless and is being removed.
Pages: (1/1)