Author Topic: Zombies in a Slayer Mini Game  (Read 483 times)

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?

You have to somehow figure out how to open this GUI :


You have to somehow figure out how to open this GUI :



Code: [Select]
// +-------------------------------------------+
// |  ___   _     _____   __  __  ____   ____  |
// | | __| | |   | /_\ |  \ \/ / | ___| | /\ | |
// | |__ | | |_  |  _  |   \  /  | __|  | \/ / |
// | |___| |___| |_| |_|   |__|  |____| |_| \\ |
// |  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");

ZAPT support is coming in the next update.

You have to somehow figure out how to open this GUI :
That GUI is useless and is being removed.