Jump to content
  • 0
crazyarashi

Attaching RID to another NPC.

Question

Good day Rathena, I'm having a problem attaching the RID and in need of support.

So this is the type of script im trying to do. I'd like to trigger an event of another npc that needs an RID. Tried many ways too attach the rid and properly trigger it yet failed and here I am seeking for support for people who has an idea. 

Thank you in advance :))
 

prontera,255,55,4	script	show_event_test	123,{
end;
OnTouch:
	if(var == 2){
		donpcevent "show_event_npc::OnEvent";
		}
	end;
}
	
prontera,255,50,4	script	show_event_npc	123,{
end;
OnEvent:
	showevent QTYPE_QUEST,1;
	end;
}

 

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.

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

Important Information

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