Jump to content
  • 0

Question

6 answers to this question

Recommended Posts

  • 0
2 hours ago, X-EcutiOnner said:

I think for some help need a description

I do agree

 

3 hours ago, DevilSupremeRO said:

can anyone help me with the koe barricade?

give the details and we will make one for you. requesting a script must have an information.

Share this post


Link to post
Share on other sites
  • 0
On 2/8/2021 at 7:57 PM, DevilSupremeRO said:

i need barricades here everytime they destroy the emperium on koe the barricade respawns and you have to destroy all of the barricades in order enter and destroy the emperium.

 

 

 

 

image.png.c7a91230302f546b506efd7fca627577.png

Anyone ever figure this out? im triyng to do the same

Share this post


Link to post
Share on other sites
  • 0

If I understood right, you want to put the emperium in the middle of the area and spawn barricade monsters in the black line. And while the barricade is still up, no one can go through the cell?

 

I think you can follow how official servers does it (more or less), spawn barricade mosnters + set the cells to not walkable, when the barricade monster is killed, you trigger an event and change the cell to walkable.

 

check out setcell script command

Share this post


Link to post
Share on other sites
  • 0

i use setwall to accomplish that are you looking for.

 

https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L9692C4-L9692C71

 

something like..


Note: ra_koe is a custom map that i'm using, but use this base as an example.

 

    setwall "ra_koe", 52, 32, 6, 2, 0, "Barricade";


    // ======================
    //    Barricade
    // ======================

    monster "ra_koe",47,30, "BARRICADE", 1905, 1, "KoE::OnBarrDead";
    monster "ra_koe",48,30, "BARRICADE", 1905, 1, "KoE::OnBarrDead";
    monster "ra_koe",51,30, "BARRICADE", 1905, 1, "KoE::OnBarrDead";
    monster "ra_koe",52,30, "BARRICADE", 1905, 1, "KoE::OnBarrDead";


OnBarrDead:
    mapannounce(("ra_koe"), _("[KoE]: A barricade in the South sector has been destroyed!"), bc_map, C_SILVER, FW_NORMAL, 18);

    if (.BarricadaSur) { end; }
    if (mobcount("ra_koe", "KoE::OnBarrDead") < 3) {
        delwall("Barricade");
        set .BarricadaSur, 1;
    mapannounce(("ra_koe"), _("[KoE]: The South access is vulnerable!"), bc_map, C_RED, FW_NORMAL, 18);
    }
    end;

 

Share this post


Link to post
Share on other sites

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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.