y2krazy
Community Developer
- Joined
- Jun 21, 2011
- Messages
- 2,803
- Reaction score
- 70
Correct. If you want it to buy 20 of item ID 3311, set ItemCounts to "20". You could also change HasAtLeast(3311,1) to "3311,20" so that it would only run the BuyItem line if you have < 20 of item ID 3311. If you have 20 or more, it won't buy more as the condition (not HasAtLeast) was not met.hellow community, i have a question.
im going to make profile and i want to buy items from npc capped 20 count
The question is.
for example
<If Condition="not HasAtLeast(3311,1)">
<BuyItem ItemIds="3311" ItemCounts="1" DialogOption="2" InteractDistance="3.0" NpcId="1000396" XYZ="82.59705, -7.893894, -103.3494" />
this "not HasAtLeast(3311,1)" : the number of front means item id and second means item count?