HristDead Posted June 1, 2013 Group: Members Topic Count: 66 Topics Per Day: 0.01 Content Count: 167 Reputation: 2 Joined: 08/01/12 Last Seen: October 9, 2019 Share Posted June 1, 2013 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 Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 1, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 1, 2013 You should apply your custom script here trunk/npc/scripts_custom.conf then restart your server. Quote Link to comment Share on other sites More sharing options...
HristDead Posted June 1, 2013 Group: Members Topic Count: 66 Topics Per Day: 0.01 Content Count: 167 Reputation: 2 Joined: 08/01/12 Last Seen: October 9, 2019 Author Share Posted June 1, 2013 I did. Quote Link to comment Share on other sites More sharing options...
Question
HristDead
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)
Link to comment
Share on other sites
2 answers 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.