Jump to content
  • 0

[ Load ] Pls Help!


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

i want ask about <-

 

if i can make for [ job3_rune01 ] @load is allowed but

@warp is not allowed  to go there ..

Edited by SpongeBOB
Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

You want a command to be used by only one class. ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

if i used this are u sure that

@warp will not work for going there

and @load will work ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/16/12
  • Last Seen:  

@load warp to save point

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

-	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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  


 

-	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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   5
  • Joined:  06/17/12
  • Last Seen:  

try 

 

warp "SavePoint",0,0;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

mmm am using 3CeAM But its working o_O

Edited by SpongeBOB
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...