Jump to content
  • 0

disable warp on instance dungeon


Question

Posted (edited)

hello, i'm making an instance on map glast heim (gl_chyard) is it posible to disable warp only on instance map without disabling warp on the normal map (gl_chyard)?

if i remove the warp on npc warp (trunk/npc/warp), it will remove the warp on normal map too :(

 

thank you

 

Best regards,

 

Liu

Edited by shinz

5 answers to this question

Recommended Posts

Posted (edited)

hmm ... I think I gave wrong answer on previous post ...

suddenly I remember in rathena already has OnInstanceInit: label

maybe you can just do

OnInstanceInit:

disablenpc instance_npcname ("npc name");

EDIT:

yeah forgot about *instance_npcname

Edited by AnnieRuru
Posted (edited)

actually this isn't a bug

when making an instance script

all the npc from that map is copy into instance map

that's why this bug is unable to fix

http://rathena.org/board/tracker/issue-4964-instanced-npc-without-instance-init-error/?gopid=4964#entry4964

the old instance system, you have to use instance_init script command

-> instance_init : copy all the npc from source map into instance map

the new instance system, already copy the npc along with instance_create

that's why I have no idea why @Akinari wants to make instance map without <num>@<string> support

because this will reminds the user to duplicate the map

last time when I wrote instance script

I always use 2@g_vs

http://rathena.org/board/topic/72691-evil-clone-on-map-enter/?p=148875

http://rathena.org/board/topic/75356-devil-square-modification/?p=162112

Edited by AnnieRuru
Posted

thanks Annie :) yes it can be done with that command :)

 

for everyone who have same problem with me, the solve is :

 

OnInstanceInit:

disablenpc instance_npcname ("npc name");

 

npc name can be found at npc / warps / 

 

once again, thank you Annie :) and thank you everyone who help me to solve this problem :)

 

Best regards,

 

Liu

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