Draundenth Posted April 30, 2021 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 15 Reputation: 0 Joined: 04/23/21 Last Seen: January 15, 2024 Share Posted April 30, 2021 (edited) Hello, i just figure out how disable vending on all map and enable in certain cells by this script: - script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera mapflag nobranch now i try to add 4 signs npc: 1. name: Vending Area Start cords: prontera,147, 171, 7 2. name: Vending Area Start cords: prontera,164, 171, 7 3. name: Vending Area End cords: prontera,147, 130, 7 4. name: Vending Area End cords: prontera,164, 130, 7 Just staying sign if somone click it nothing happen, just for info for people where they can vending and where not. @Edit Ok i figured out how do that this is script: - script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera,147,171,5 script Vending Area Start#01 837,{ } prontera,164,171,5 script Vending Area Start#02 837,{ } prontera,147,130,5 script Vending Area End#01 837,{ } prontera,164,130,5 script Vending Area End#02 837,{ } prontera mapflag nobranch Edited April 30, 2021 by Draundenth Done by myself xD Quote Link to comment Share on other sites More sharing options...
0 mrfizi Posted April 30, 2021 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 383 Reputation: 78 Joined: 10/30/12 Last Seen: March 17 Share Posted April 30, 2021 Did you mean Vendor/Vending Control System? If yes, use this script: Then read my replied on this topic for how to setup your vending places: Quote Link to comment Share on other sites More sharing options...
Question
Draundenth
Hello, i just figure out how disable vending on all map and enable in certain cells by this script:
- script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera mapflag nobranch
now i try to add 4 signs npc:
1. name: Vending Area Start cords: prontera,147, 171, 7 2. name: Vending Area Start cords: prontera,164, 171, 7 3. name: Vending Area End cords: prontera,147, 130, 7 4. name: Vending Area End cords: prontera,164, 130, 7
Just staying sign if somone click it nothing happen, just for info for people where they can vending and where not.
@Edit
Ok i figured out how do that this is script:
- script prontera_vending -1,{ OnInit: setcell "prontera", 0,0, 400,400, cell_novending,1; setcell "prontera", 147,170, 147,130, cell_novending,0; setcell "prontera", 164,170, 164,130, cell_novending,0; end; } prontera,147,171,5 script Vending Area Start#01 837,{ } prontera,164,171,5 script Vending Area Start#02 837,{ } prontera,147,130,5 script Vending Area End#01 837,{ } prontera,164,130,5 script Vending Area End#02 837,{ } prontera mapflag nobranch
Done by myself xD
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.