Sharpienero Posted June 2, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Share Posted June 2, 2012 To restrict an item to a certain intended purpose? Example(s): 1) - Have a weapon that is only used for leveling. (Can't be brought into PvP.) 2) - Can't take an item off a map? 3) - Can't bring an item onto a different map? 4) - Have a shop that sells weapons on a map, but when you leave the map the items dissapear? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
LCDTheOG Posted June 3, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted June 3, 2012 make a script, with a timer that checks if they have this weapon equipped and if they do, use the unequip script command, this will stop them from using it on the map, or just put it in the db/item_noequip.txt and put a map flag on the certain map u don't want the weapon on. 1 Quote Link to comment Share on other sites More sharing options...
RCharles Posted June 3, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 154 Reputation: 10 Joined: 05/31/12 Last Seen: May 15, 2014 Share Posted June 3, 2012 It is possible.. You can have it as your source: Category:Script_Command 1 Quote Link to comment Share on other sites More sharing options...
Sharpienero Posted June 3, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 386 Reputation: 28 Joined: 01/16/12 Last Seen: January 6, 2023 Author Share Posted June 3, 2012 Thanks mates. Quote Link to comment Share on other sites More sharing options...
Question
Sharpienero
To restrict an item to a certain intended purpose?
Example(s):
1) - Have a weapon that is only used for leveling. (Can't be brought into PvP.)
2) - Can't take an item off a map?
3) - Can't bring an item onto a different map?
4) - Have a shop that sells weapons on a map, but when you leave the map the items dissapear?
Thanks in advance.
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.