Jump to content
  • 0

[ Load ] Pls Help!


Question

13 answers to this question

Recommended Posts

Posted

The previous script doesn't work on 3ceam.

-	script	jnojij	-,{
OnPCLoadMapEvent:
	if ( strcharinfo(3) == "job3_rune01" && @warp_on_job3_rune01 == 0 ) {
		if ( getsavepoint(0) != "job3_rune01" ) {
			message strcharinfo(0), "You can't warp here.";
			warp "Save",0,0;
		}
	}
}
job3_rune01	mapflag	loadevent

prontera,150,150,5	script	warpto job3_rune01	56,{
	set @warp_on_job3_rune01, 1;
	warp "job3_rune01",0,0;// warp player on rune map
	sleep2 50;
	set @warp_on_job3_rune01, 0;
}

 

I don't find an easy way with script npc

Posted

i want ppl when use [ @load ] can be teleported to [ job3_rune01 ] but ppl when use [ @warp ] to this map never warp @warp there

only @load  can be used to go there by the ppl who saved there



[ job3_rune01 ] is a map  -_-

Posted

Should do, Might be wrong since @load is considered to warp you also LOGICALLY.

 

Give it a try.

 

Yes it will stop you @warping there.

not working

@Load

to there

Posted

-	script	atcmd_load	-1,{
OnInit:
	bindatcmd "load",strnpcinfo(3)+"::OnAtcommand";
	end;
OnAtcommand:
	if ( getsavepoint(0) == "job3_rune01" ) {
		message strcharinfo(0), "Warping to save point.";
		warp "Save",0,0;
	}
	else
		atcommand "@load";
	end;
}

or you need source mod

Posted (edited)


 

-	script	atcmd_load	-1,{
OnInit:
	bindatcmd "load",strnpcinfo(3)+"::OnAtcommand";
	end;
OnAtcommand:
	if ( getsavepoint(0) == "job3_rune01" ) {
		message strcharinfo(0), "Warping to save point.";
		warp "Save",0,0;
	}
	else
		atcommand "@load";
	end;
}

not working

Edited by SpongeBOB

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