Preview :
Info :GM active this game ---> player go to click NPC ---> wait for it ---> warp to game map ---> Kill all monster ---> go to next wave ---> no more wave ---> go to next level ---> no more level ---> go to reward. IF you didn't kill all monster before time over, you lose this game. IF you didn't go to click reward before time over, you get nothing. IF you are dead and no one help you, you can't do anything. Download : Another Devil Square.txt Time setting :
.time_joining = 100; // How long that game will start after first join. (second)
Level setting :
OnSpawnMob: // getarg(0) ---> Level , getarg(1) ---> Wave , you can do what you like.
callsub OnTimeLeftAnnounce, <second for player have to finish this motion or it will be game over>;
callsub OnTimePauseDelay, <second for pausing the timer and it will not end this game>;
callsub OnSMob, <x1>, <y1>, <x2>, <y2>, <mob id>, <amount>; // Use this to spawn monsters.
default: // Game Over, go to reward
mapannounce "ordeal_1-1", "[Devil Square]: You win!!", bc_map, 0x00FF00, 400, 18;
enablenpc "#DevilSquarewarp2zoon6"; // Open reward npc
stopnpctimer;
sleep2 5000; // Delay for ending this game
callsub OnEndd;
break;
ordeal_1-1, 149, 149, 4 script #DevilSquarewarp2zoon6 1324,{ // Default Reward NPC
warp "prontera", 150, 180;
getitem 607, 1;
end;
}