Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/30/24 in Posts

  1. switch(rand(1,5)) { case 1: playBGM "<BGM filename>"; end; case 2: playBGM "<BGM filename>"; end; case 3: playBGM "<BGM filename>"; end; case 4: playBGM "<BGM filename>"; end; case 5: playBGM "<BGM filename>"; end; }
    1 point
  2. I will, I'm just busy with work lol. I finished Orc's Memory last night. after I'm done with pre-renewal instances. I'll go on with renewal.
    1 point
  3. @Louis T SteinhilIs this working with the latest commit? hopefully, you can make it work without adding new patches but adding the patch mentioned in the comment is not a problem as well to make it clean and still follow the recent changes. I am waiting for more instances like this like OGH, Charles Stone, and more Good work, and thanks for sharing
    1 point
  4. Well, normally you'd use what you did "--en--", or "--ja--". But if you want to pick the names yourself, you can do this: prontera,99,101,1 script Demon Tomb 565,{ mes "stuff..."; setarray .@mobIds, 1002, 1003, 1004, 1005, 1006; setarray .@mobNames$, "Poring 1", "Poring 2", "Poring 3", "Poring 4", "Poring 5"; .@mobIdx = rand(getarraysize(.@mobIds)); .@mobId = .@mobIds[.@mobIdx]; .@mobName$ = .@mobNames[.@mobIdx]; monster .@map$,99,107,.@mobName$,.@mobId,1,.@label_boss$,2; end; } If you prefer, you can use this approach below as well, same thing (I find it easier to handle in larger scripts, but there's really no difference). prontera,99,101,1 script Demon Tomb 565,{ mes "stuff..."; setarray .@mobIds, 1002, 1003, 1004, 1005, 1006; .@mobId = .@mobIds[rand(getarraysize(.@mobIds))]; monster .@map$,99,107,'mobNames$[.@mobId],.@mobId,1,.@label_boss$,2; end; OnInstanceInit: 'mobNames$[1002] = "Poring 1"; 'mobNames$[1003] = "Poring 2"; 'mobNames$[1004] = "Poring 3"; 'mobNames$[1005] = "Poring 4"; 'mobNames$[1006] = "Poring 5"; end; }
    1 point
×
×
  • Create New...