Jump to content
  • 0

Script doesnt @reloadscript or server restart, but does with @loadnpc....


HristDead

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Hi rAthena, I have a problem.

 

When I try to test a particular script with @reloadscript, the effect does not apply.

But if I try @loadnpc and relog a character, it does. I'm using a OnPCLoadMapEvent variable to trigger.

 

 

if @reloadscript after i used @loadnpc the effect is gone again too....

 

Can anyone help?

 

This is the script the problem is about:

(quest is not complete yet, i did not even talk to/touch npc yet this and problem happens)

 

OnPCLoadMapEvent:
    if(@mapname$ == "new_1-1" && Q88002 !=2 ){
    viewpoint 1,121,117,1,0xFF3355;
    end;
    }else{
    viewpoint 2,121,117,1,0xFF3355;
    end;
}
}
}
new_1-1    mapflag    loadevent
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

You should apply your custom script here trunk/npc/scripts_custom.conf then restart your server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  167
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

I did.

Link to comment
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.   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.

×
×
  • Create New...