Noire Posted February 11, 2016 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: April 14 Share Posted February 11, 2016 (edited) Can i request a script for dispbottom massage? Example :~> areawarp "guild_room",309,373,319,363, "guild_room",322,367; • All players within these cell will have a dispbottom "Your answer is right, warping you back to the center" ~> areawarp "guild_room",325,373,335,363,"prontera",150,150; • And for this one weill their dispbottom "Your answer is wrong, warping you back to prontera" =//= ~> areawarp "guild_room",309,373,319,363,"prontera",150,150; • And for this one weill their dispbottom "Your answer is wrong, warping you back to prontera" ~>areawarp "guild_room",325,373,335,363, "guild_room",322,367; • All players within these cell will have a dispbottom "Your answer is right, warping you back to the center" Edited February 11, 2016 by Noire Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted February 12, 2016 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 149 Reputation: 24 Joined: 02/11/16 Last Seen: May 16, 2023 Share Posted February 12, 2016 (edited) Hi, Noire, you can do something like this.1. Make a hidden NPC at the center of each quadrant that will set a variable to the player. (change 5,5 to the desirable npc scope) guild_room,x,y,0 script Quadrant1 -1,5,5,{ end; OnTouch: set q1,1; set q2,0; set q3,0; set q4,0; } guild_room,x,y,0 script Quadrant2 -1,5,5,{ end; OnTouch: set q1,0; set q2,1; set q3,0; set q4,0; } (just create more for the other quadrants) 2. And then create something like this if (q1 == 1) { dispbottom "Your answer is right, warping you back to the center"; } Hope it helps! And good luck! (Sorry if I just gave you ideas, I do not want to spoonfeed people with scripts that can be copy and pasted. rAthena is slowly being filled with leechers nowadays. To keep this community alive, let's make it this way) Edited February 12, 2016 by tianlinli Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted February 12, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted February 12, 2016 another easy way would be make use of these addrid + dispbottom https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3770-L3788 or areaannounce *areaannounce "<map name>",<x1>,<y1>,<x2>,<y2>,"<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}}}; This command works like 'announce' but will only broadcast to characters residing in the specified x1/y1-x2/y2 rectangle on the map given. The flags and optional parameters are the same as in 'announce', but target and source flags are ignored. areaannounce "prt_church",0,0,350,350,"God's in his heaven, all right with the world",0; Quote Link to comment Share on other sites More sharing options...
0 Noire Posted February 12, 2016 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: April 14 Author Share Posted February 12, 2016 @ euphyCan you make example of that i tried that but no announce appear, im confuse >.< newbie @ this point need guidance :/ Example : areawarp guild_room 309,73 319 363 guild_room 322 367 - I Just want all people who are on this area will have a dispbottom " You're correct warping you back to center" Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted February 12, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted February 12, 2016 areaannounce "guild_room",309,73,319,363,"You're correct! Warping you back to the center.",0; Try that. Also, it would be better if you post the line of script you are working with and got the error, that way we can tell you what you did wrong so it will be easier for you to learn. Note: I'm learning too >,< just newbie. Quote Link to comment Share on other sites More sharing options...
0 Noire Posted February 13, 2016 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: April 14 Author Share Posted February 13, 2016 Can you guys edit this help? ~> areawarp "guild_room",309,373,319,363, "guild_room",322,367; • All players within these cell will have a dispbottom "Your answer is right, warping you back to the center" ~> areawarp "guild_room",325,373,335,363,"prontera",150,150; • And for this one well their dispbottom "Your answer is wrong, warping you back to prontera" =//= vice versa ~> areawarp "guild_room",309,373,319,363,"prontera",150,150; • And for this one will their dispbottom "Your answer is wrong, warping you back to prontera" ~>areawarp "guild_room",325,373,335,363, "guild_room",322,367; • All players within these cell will have a dispbottom "Your answer is right, warping you back to the center" Help.txt Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted February 14, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 35 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted February 14, 2016 areaannounce "guild_room",309,373,319,363,"Correct!",0; areaannounce "guild_room",325,373,335,363,"Wrong!",0; Is the easiest thing to do, but if you really want the dispbottom thing then: close2; announce "[ "+ strcharinfo(0) +" ] :answer is False.",bc_map; set .@i,0; // 0 = false | 1 = true sleep2 4500; switch(.@i){ case 0: areawarp "guild_room",309,373,319,363,"prontera",150,150; dispbottom "You got the wrong answer."; end; case 1: areawarp "guild_room",325,373,335,363, "guild_room",322,367; dispbottom "You got the right answer."; end; } Quote Link to comment Share on other sites More sharing options...
0 Noire Posted February 15, 2016 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 103 Reputation: 1 Joined: 06/26/13 Last Seen: April 14 Author Share Posted February 15, 2016 I just edit few to make it work thanks for the ideas guys ! Quote Link to comment Share on other sites More sharing options...
Question
Noire
Can i request a script for dispbottom massage?
Example :
~> areawarp "guild_room",309,373,319,363, "guild_room",322,367;
• All players within these cell will have a dispbottom "Your answer is right, warping you back to the center"
~> areawarp "guild_room",325,373,335,363,"prontera",150,150;
• And for this one weill their dispbottom "Your answer is wrong, warping you back to prontera"
=//=
~> areawarp "guild_room",309,373,319,363,"prontera",150,150;
• And for this one weill their dispbottom "Your answer is wrong, warping you back to prontera"
~>areawarp "guild_room",325,373,335,363, "guild_room",322,367;
• All players within these cell will have a dispbottom "Your answer is right, warping you back to the center"
Edited by NoireLink to comment
Share on other sites
7 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.