Jump to content
  • 0

how to set debuff on npc warper ?


Question

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

replace 

	if (lastwarp$ == "")
		message strcharinfo(0),"You haven't warped anywhere yet.";
	else
		warp lastwarp$,lastwarpx,lastwarpy;
	end;

to 

	if (lastwarp$ == "")
		message strcharinfo(0),"You haven't warped anywhere yet.";
	else {
		sc_end SC_GEFFEN_MAGIC3;
		warp lastwarp$,lastwarpx,lastwarpy;
	}
	end;

 

 

and replace 

function Go {
	set lastwarp$, getarg(0);
	set lastwarpx, getarg(1,0);
	set lastwarpy, getarg(2,0);
	warp getarg(0),getarg(1,0),getarg(2,0);
	end;
}

to 

function Go {
	set lastwarp$, getarg(0);
	set lastwarpx, getarg(1,0);
	set lastwarpy, getarg(2,0);
	sc_end SC_GEFFEN_MAGIC3;
	warp getarg(0),getarg(1,0),getarg(2,0);
	end;
}

 

 

Another Note:
I haven't tested with this status, I tested with sc_freeze and it worked, should work with this status too

Another Note ++ : @mrfizi is too fast >_<

Edited by Yuno
edit after i have seen the answer of Mrfizi
  • Upvote 1
  • 0
Posted (edited)
  • 0
Posted
On 3/4/2022 at 2:28 AM, Fluxion said:

replace 

	if (lastwarp$ == "")
		message strcharinfo(0),"You haven't warped anywhere yet.";
	else
		warp lastwarp$,lastwarpx,lastwarpy;
	end;

to 

	if (lastwarp$ == "")
		message strcharinfo(0),"You haven't warped anywhere yet.";
	else {
		sc_end SC_GEFFEN_MAGIC3;
		warp lastwarp$,lastwarpx,lastwarpy;
	}
	end;

 

 

and replace 

function Go {
	set lastwarp$, getarg(0);
	set lastwarpx, getarg(1,0);
	set lastwarpy, getarg(2,0);
	warp getarg(0),getarg(1,0),getarg(2,0);
	end;
}

to 

function Go {
	set lastwarp$, getarg(0);
	set lastwarpx, getarg(1,0);
	set lastwarpy, getarg(2,0);
	sc_end SC_GEFFEN_MAGIC3;
	warp getarg(0),getarg(1,0),getarg(2,0);
	end;
}

 

 

Another Note:
I haven't tested with this status, I tested with sc_freeze and it worked, should work with this status too

Another Note ++ : @mrfizi is too fast >_<

i try but now working../wah

  • 0
Posted
On 3/5/2022 at 12:30 PM, mrfizi said:

Now or Not? If not working, try to restart your server. Is there any error on your putty terminal/screen?

oh need restart server... now working..thank you very much.... @mrfizi , @Fluxion.../thx

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