Tomahawk Posted February 12, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 28 Reputation: 7 Joined: 07/17/18 Last Seen: Saturday at 06:16 PM Share Posted February 12, 2019 setarray .mvplist[0],1832,1511,1647,1785,1630,1039,1874,2068,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1885,1649,1651,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1312,1751,1685,1648,1658; .@mobid = .mvplist[rand(0,getarraysize(.mvplist))]; monster "map_x",0,0,strmobinfo(2,.@mobid),.@mobid,1,"mvpspawn::OnMVPDead"; sometimes gives this error: Can anyone help me? I'm just not getting what i'm doing wrong. Quote Link to comment Share on other sites More sharing options...
0 utofaery Posted February 12, 2019 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 228 Reputation: 19 Joined: 10/27/12 Last Seen: March 17, 2019 Share Posted February 12, 2019 (edited) 1 hour ago, Tomahawk said: setarray .mvplist[0],1832,1511,1647,1785,1630,1039,1874,2068,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1885,1649,1651,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1312,1751,1685,1648,1658; .@mobid = .mvplist[rand(0,getarraysize(.mvplist))]; monster "map_x",0,0,strmobinfo(2,.@mobid),.@mobid,1,"mvpspawn::OnMVPDead"; sometimes gives this error: Can anyone help me? I'm just not getting what i'm doing wrong. .@mobid = .mvplist[rand(getarraysize(.mvplist))]; *monster "<map name>",<x>,<y>,"<name to show>",<mob id>,<amount>{,"<event label>",<size>,<ai>}; monster "map_x",0,0,--ja--,.@mobid,1,"mvpspawn::OnMVPDead"; monster "place",60,100,"Poring",1002,1,"NPCNAME::OnLabel"; monster "map_x",0,0,"~I am King~",.@mobid,1,"mvpspawn::OnMVPDead"; Edited February 12, 2019 by utofaery 1 Quote Link to comment Share on other sites More sharing options...
0 AnnieRuru Posted February 13, 2019 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted February 13, 2019 most people still confuse about this rand(2) generate 0,1 rand(0,2) generate 0,1,2 it should be .@mobid = .mvplist[rand(getarraysize(.mvplist))]; 1 Quote Link to comment Share on other sites More sharing options...
0 Tomahawk Posted February 13, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 28 Reputation: 7 Joined: 07/17/18 Last Seen: Saturday at 06:16 PM Author Share Posted February 13, 2019 Thank you. Quote Link to comment Share on other sites More sharing options...
Question
Tomahawk
setarray .mvplist[0],1832,1511,1647,1785,1630,1039,1874,2068,1272,1719,1046,1389,1112,1115,1418,1871,1252,1768,1885,1649,1651,1492,1734,1251,1779,1688,1646,1373,1147,1059,1150,1087,1190,1038,1157,1159,1623,1650,1583,1312,1751,1685,1648,1658; .@mobid = .mvplist[rand(0,getarraysize(.mvplist))]; monster "map_x",0,0,strmobinfo(2,.@mobid),.@mobid,1,"mvpspawn::OnMVPDead";
sometimes gives this error:
Can anyone help me? I'm just not getting what i'm doing wrong.
Link to comment
Share on other sites
3 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.