edumander1 Posted November 6, 2023 Group: Members Topic Count: 7 Topics Per Day: 0.01 Content Count: 12 Reputation: 0 Joined: 09/04/23 Last Seen: April 20, 2024 Share Posted November 6, 2023 I'm trying to add a chatroom in an invisible to stay "inside" the portal I already tried with FAKE_NPC and -1 Quote 1@eom, 101,194,5 script PvP Room FAKE_NPC,{ end; OnInit: waitingroom "PvP Room", 0; end; } and this is my full script: Quote 1@eom, 101,194,0 warp PvP Room 1,1,pay_dun04,0,0 pay_dun04, 60,181,0 warp random_1 1,1,pay_dun04, 0,0,0 pay_dun04, 202,206,0 warp random_2 1,1,pay_dun04, 0,0,0 pay_dun04, 191,41,0 warp random_3 1,1,pay_dun04, 0,0,0 pay_dun04, 40,37,0 warp random_4 1,1,pay_dun04, 0,0,0 - script item_get -1,{ OnPCKillEvent: .@DelayPvP = (5 * 60); // in seconds if( getmapflag(strcharinfo(3), mf_pvp)) { if (PrevKilled == killedrid && @PVPTIMER > gettimetick(2)) { dispbottom "You can't win points from same player twice in a roll for " + (@PVPTIMER - gettimetick(2)) + " seconds"; } else { getitem 674, 1; } if (.@DelayPvP) @PVPTIMER = gettimetick(2) + .@DelayPvP; PrevKilled = killedrid; } } - script announcer -1,{ OnPCLoadMapEvent: if(getgmlevel() < 99) { announce "[ " + strcharinfo(0) + " ] Entered the PvP Room.", bc_all, 0x76EE00; } } - script sum_mvp -1,{ onInit: setarray .mvps, 1038,1039,1046,1059,1086,1087,1112,1115,1147,1150,1157,1159,1190,1251,1252,1272,1312,1373,1389,1418,1492,1511,1583,1623,1630,1646,1647,1648,1649,1650,1651,1658,1685,1688,1708,1719,1734,1751,1768,1779,1785,1832,1871,1874,1885,1917,2022,2068; end; onMinute30: atcommand "@killmonster2"; .@randIndex = rand(getarraysize(.mvps)); .@mvpId = .mvps[.@randIndex]); monster "pay_dun04", 0, 0, "The Butcher", .@mvpId, 1; announce "[ The Butcher ] is inside the PvP Room looking for more victims", bc_all, 0xFF0000; end; } 1@eom, 101,194,5 script PvP Room FAKE_NPC,{ end; OnInit: waitingroom "PvP Room", 0; end; } pay_dun04 mapflag pvp pay_dun04 mapflag noteleport pay_dun04 mapflag nowarp pay_dun04 mapflag nosave pay_dun04 mapflag nomemo pay_dun04 mapflag nodrop pay_dun04 mapflag nobranch pay_dun04 mapflag loadevent Quote Link to comment Share on other sites More sharing options...
0 Racaae Posted November 6, 2023 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 211 Reputation: 92 Joined: 06/02/12 Last Seen: Just now Share Posted November 6, 2023 Hi! CLEAR_NPC works, but it will put a "npc click bubble" inside the portal which can be annoying. I recommend using signboardlist: Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted January 23, 2024 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 01:10 PM Share Posted January 23, 2024 you can also try with HIDDEN_WARP_NPC Quote Link to comment Share on other sites More sharing options...
Question
edumander1
I'm trying to add a chatroom in an invisible to stay "inside" the portal
I already tried with FAKE_NPC and -1
and this is my full script:
Link to comment
Share on other sites
2 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.