Jump to content
  • 0

How to add custom Guild Castle and spawn emperium


Question

Posted

Map name : gvg_py01 (duplicate payg_cas01)

// Spawn (fall through), or respawn the Emperium once it has been broken.
OnStartArena:
    // OnAgitStart will fall through and spawn the Emperium.
    if (strnpcinfo(2) == "aldeg_cas01") { setarray .@emproom[0],216,23; }
    else if (strnpcinfo(2) == "aldeg_cas02") { setarray .@emproom[0],213,23; }
    else if (strnpcinfo(2) == "aldeg_cas03") { setarray .@emproom[0],205,31; }
    else if (strnpcinfo(2) == "aldeg_cas04") { setarray .@emproom[0],36,217; }
    else if (strnpcinfo(2) == "aldeg_cas05") { setarray .@emproom[0],27,101; }
    else if (strnpcinfo(2) == "gefg_cas01") { setarray .@emproom[0],197,181; }
    else if (strnpcinfo(2) == "gefg_cas02") { setarray .@emproom[0],176,178; }
    else if (strnpcinfo(2) == "gefg_cas03") { setarray .@emproom[0],244,166; }
    else if (strnpcinfo(2) == "gefg_cas04") { setarray .@emproom[0],174,177; }
    else if (strnpcinfo(2) == "gefg_cas05") { setarray .@emproom[0],194,184; }
    else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; }
    else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; }
    else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],269,265; }
    else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; }
    else if (strnpcinfo(2) == "payg_cas05") { setarray .@emproom[0],30,30; }
    else if (strnpcinfo(2) == "prtg_cas01") { setarray .@emproom[0],197,197; }
    else if (strnpcinfo(2) == "prtg_cas02") { setarray .@emproom[0],157,174; }
    else if (strnpcinfo(2) == "prtg_cas03") { setarray .@emproom[0],16,220; }
    else if (strnpcinfo(2) == "prtg_cas04") { setarray .@emproom[0],291,14; }
    else if (strnpcinfo(2) == "prtg_cas05") { setarray .@emproom[0],266,266; }
    else if (strnpcinfo(2) == "gvg_py01") { setarray .@emproom[0],139,139; }
    // Add custom Guild Castles here.
    else {
        end;
    }
    if (!mobcount(strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak")) {
        monster strnpcinfo(2),.@emproom[0],.@emproom[1],"Emperium",1288,1,"Agit#"+strnpcinfo(2)+"::OnAgitBreak";
    }
    end;

I have issue emperium no spawn on location.

 

agit_controller.txt agit_main.txt

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...