President Posted May 10, 2012 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
Felgrande Posted May 10, 2012 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
President Posted June 18, 2012 Author 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
MarkZD Posted June 19, 2012 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
Question
President
i wanna request to my vending city, like this...
I wanna all my player , vending in one line same with Ghostring
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.