Rage Guy Posted July 9, 2013 Posted July 9, 2013 (edited) i want ask about <- if i can make for [ job3_rune01 ] @load is allowed but @warp is not allowed to go there .. Edited July 10, 2013 by SpongeBOB Quote
Capuche Posted July 10, 2013 Posted July 10, 2013 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 Quote
-SkittleNugget- Posted July 9, 2013 Posted July 9, 2013 You want a command to be used by only one class. ? Quote
Rage Guy Posted July 9, 2013 Author Posted July 9, 2013 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 Quote
Rage Guy Posted July 9, 2013 Author Posted July 9, 2013 if i used this are u sure that @warp will not work for going there and @load will work ? Quote
-SkittleNugget- Posted July 9, 2013 Posted July 9, 2013 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. Quote
Rage Guy Posted July 9, 2013 Author Posted July 9, 2013 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 Quote
Capuche Posted July 9, 2013 Posted July 9, 2013 - 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 Quote
Rage Guy Posted July 10, 2013 Author Posted July 10, 2013 (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 July 10, 2013 by SpongeBOB Quote
Rage Guy Posted July 10, 2013 Author Posted July 10, 2013 (edited) mmm am using 3CeAM But its working o_O Edited July 10, 2013 by SpongeBOB Quote
Question
Rage Guy
i want ask about <-
if i can make for [ job3_rune01 ] @load is allowed but
@warp is not allowed to go there ..
Edited by SpongeBOB13 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.