Jump to content
  • 0

request


Wise

Question


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   26
  • Joined:  11/19/11
  • Last Seen:  

Can I request an SRC modification that makes the player immune from monsters whenever the player talks to an NPC.

Thanks in advanced.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   12
  • Joined:  10/19/13
  • Last Seen:  

Can I request an SRC modification that makes the player immune from monsters whenever the player talks to an NPC.

Thanks in advanced.

 

Hi :) i think you can do this on your NPC script

 

example:

prontera,200,200,4	script	ShoutNPC	859,{

	mes "Hello";
	atcommand "@monsterignore";<---to enable the command while talking
	next;
	mes "do you need help?";
	switch(select("Yes Please.:No thanks. I'm Okay")){

case 1: {
	mes "Okay I'm Warping you";
	close2;
	atcommand "@monsterignore";<---to end the command whenever you're finished
	end; }

case 2: {
	mes "Okay see you later!";
	atcommand "@monsterignore";<---to end the command whenever you're finished
	close; }
}

----------------------------

okay i just tried it on my test server and it worked :)

Edited by Veiler
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   26
  • Joined:  11/19/11
  • Last Seen:  

 

Can I request an SRC modification that makes the player immune from monsters whenever the player talks to an NPC.

Thanks in advanced.

 

Hi :) i think you can do this on your NPC script

 

example:

prontera,200,200,4	script	ShoutNPC	859,{

	mes "Hello";
	atcommand "@monsterignore";<---to enable the command while talking
	next;
	mes "do you need help?";
	switch(select("Yes Please.:No thanks. I'm Okay")){

case 1: {
	mes "Okay I'm Warping you";
	close2;
	atcommand "@monsterignore";<---to end the command whenever you're finished
	end; }

case 2: {
	mes "Okay see you later!";
	atcommand "@monsterignore";<---to end the command whenever you're finished
	close; }
}

----------------------------

okay i just tried it on my test server and it worked :)

 

 

Thank you for this but I'm asking for an actual SRC mod. I want this 'monsterignore' to apply in every NPC and it's a pain in the ass to apply this in every script =_=

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  61
  • Reputation:   12
  • Joined:  10/19/13
  • Last Seen:  

 

 

Can I request an SRC modification that makes the player immune from monsters whenever the player talks to an NPC.

Thanks in advanced.

 

Thank you for this but I'm asking for an actual SRC mod. I want this 'monsterignore' to apply in every NPC and it's a pain in the ass to apply this in every script =_=

 

aweee.. :/ im sorry for that..

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