President Posted May 10, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 04/28/12 Last Seen: December 30, 2013 Share Posted May 10, 2012 i wanna request to my vending city, like this... I wanna all my player , vending in one line same with Ghostring Quote Link to comment Share on other sites More sharing options...
Felgrande Posted May 10, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 10 Reputation: 2 Joined: 05/09/12 Last Seen: July 2, 2023 Share Posted May 10, 2012 Hi nyoonyoto, I believe this is an answer to your question? If there is a better answer anyone please post. Quoting from script_commands.txt *setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>; Each map cell has several 'flags' that specify the properties of that cell. These include terrain properties (walkability, shootability, presence of water), skills (basilica, land protector, ...) and other (NPC nearby, no vending, ...). Each of these can be 'on' or 'off'. Together they define a cell's behavior. This command lets you alter these flags for all map cells in the specified (x1,y1)-(x2,y2) rectangle. The 'flag' can be 0 or 1 (0:clear flag, 1:set flag). The 'type' defines which flag to modify. Possible options include cell_walkable, cell_shootable, cell_basilica. For a full list, see const.txt. Basically set the map to have the novending mapflag and then have an npc "set cells" on which cells you can vend on using the x1-x2, y1-y2. Quote Link to comment Share on other sites More sharing options...
President Posted June 18, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 04/28/12 Last Seen: December 30, 2013 Author Share Posted June 18, 2012 Hi nyoonyoto, I believe this is an answer to your question? If there is a better answer anyone please post. Quoting from script_commands.txt *setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>; Each map cell has several 'flags' that specify the properties of that cell. These include terrain properties (walkability, shootability, presence of water), skills (basilica, land protector, ...) and other (NPC nearby, no vending, ...). Each of these can be 'on' or 'off'. Together they define a cell's behavior. This command lets you alter these flags for all map cells in the specified (x1,y1)-(x2,y2) rectangle. The 'flag' can be 0 or 1 (0:clear flag, 1:set flag). The 'type' defines which flag to modify. Possible options include cell_walkable, cell_shootable, cell_basilica. For a full list, see const.txt. Basically set the map to have the novending mapflag and then have an npc "set cells" on which cells you can vend on using the x1-x2, y1-y2. do you have any example script sir? Quote Link to comment Share on other sites More sharing options...
MarkZD Posted June 19, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 134 Reputation: 35 Joined: 02/27/12 Last Seen: April 5, 2022 Share Posted June 19, 2012 (edited) Into conf/mapflarg/novending add: payon mapflag novending So put some lines like this one in a npc file: setcell "payon",0,0,0,300,novending,0; // in this case, every cells from 0,0 up to 0, 300 will be able to use vending, in a vertical line x is horizontal y is vertical x1 where should start x2 where should end the same with y1 and y2 1,1,2,2 || || 1,1,1,5 | | | | | You just have to go up to the place you want to start and finish and use /where to check x and y. Edited June 19, 2012 by MarkZD Quote Link to comment Share on other sites More sharing options...
Question
President
i wanna request to my vending city, like this...
I wanna all my player , vending in one line same with Ghostring
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.