Gouki Posted November 8, 2020 Group: Members Topic Count: 82 Topics Per Day: 0.06 Content Count: 241 Reputation: 11 Joined: 08/12/20 Last Seen: February 9 Share Posted November 8, 2020 (edited) Hi All, Just want to ask how could I add more maps on the "set" script? I've tried using setarray or like adding comma, doing the || and &&, reviewed the scripts_command but can't find any.. maps to add 2012rwc_01 2012rwc_02 - script wardispell -1,{ OnInit: set .map$,"guild_vs3"; //HOW CAN I ADD MORE MAPS HERE? setmapflag .map$[0],mf_loadevent; end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) while( .@i < 553 ){ if( .@i != SC_WEIGHT50 && .@i != SC_WEIGHT90 && .@i != SC_JAILED && .@i != SC_NOCHAT ) sc_end .@i; set .@i,.@i + 1; } end; } Edited November 8, 2020 by Almond Snicker issue resolved Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted November 9, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1511 Reputation: 227 Joined: 08/03/12 Last Seen: 9 hours ago Share Posted November 9, 2020 19 hours ago, Almond Snicker said: Hi All, Just want to ask how could I add more maps on the "set" script? I've tried using setarray or like adding comma, doing the || and &&, reviewed the scripts_command but can't find any.. maps to add 2012rwc_01 2012rwc_02 - script wardispell -1,{ OnInit: set .map$,"guild_vs3"; //HOW CAN I ADD MORE MAPS HERE? setmapflag .map$[0],mf_loadevent; end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) while( .@i < 553 ){ if( .@i != SC_WEIGHT50 && .@i != SC_WEIGHT90 && .@i != SC_JAILED && .@i != SC_NOCHAT ) sc_end .@i; set .@i,.@i + 1; } end; } "guild_vs1","guild_vs2","guild_vs3", "guild_vs4"; Quote Link to comment Share on other sites More sharing options...
Question
Gouki
Hi All,
Just want to ask how could I add more maps on the "set" script? I've tried using setarray or like adding comma, doing the || and &&, reviewed the scripts_command but can't find any..
maps to add
2012rwc_01
2012rwc_02
- script wardispell -1,{ OnInit: set .map$,"guild_vs3"; //HOW CAN I ADD MORE MAPS HERE? setmapflag .map$[0],mf_loadevent; end; OnPCLoadMapEvent: if( strcharinfo(3) == .map$ ) while( .@i < 553 ){ if( .@i != SC_WEIGHT50 && .@i != SC_WEIGHT90 && .@i != SC_JAILED && .@i != SC_NOCHAT ) sc_end .@i; set .@i,.@i + 1; } end; }
issue resolved
Link to comment
Share on other sites
1 answer 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.