dev Posted December 31, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 21 Reputation: 3 Joined: 12/06/16 Last Seen: March 26, 2017 Share Posted December 31, 2016 (edited) // Map for vending set .map$,"vend_zone"; //setcell .map$,0,0,284,365,cell_novending,1; // x and y horizone .. setarray .x_line,104,107,110,113,113,113,113; setarray .y_line,113,113,113,113,110,107,104; set .x_line_size,getarraysize( .x_line ); set .y_line_size,getarraysize( .y_line ); set .count,1; for( set .@x,0; .@x < .x_line_size; set .@x,.@x + 1 ) for( set .@y,0; .@y < .y_line_size; set .@y,.@y + 1 ) if( checkcell( .map$,.x_line[.@x],.y_line[.@y],cell_chkpass ) ){ movenpc "#vend_slot"+.count,.x_line[.@x],.y_line[.@y]; setcell .map$,.x_line[.@x],.y_line[.@y],.x_line[.@x],.y_line[.@y],cell_novending,0; set .count,.count + 1; } npctalk "Vending Spot : "+.count; donpcevent "::OnSetup"; end; NEED HELP IN MODIFICATION IN SCRIPT SUCH THAT SLOT SHOULD BE IN PARTICULAR CELL ONLY... full script.txt Edited December 31, 2016 by dev Quote Link to comment Share on other sites More sharing options...
Question
dev
NEED HELP IN MODIFICATION IN SCRIPT SUCH THAT SLOT SHOULD BE IN PARTICULAR CELL ONLY...
full script.txt
Edited by devLink to comment
Share on other sites
0 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.