getting other people to do it will not help you learn. however further down the list of rdz item stacking of doom tutorial ther a really simple tutorial
Quote:
Penknight wrote:
This items stacking method is a little confusing and uses some variables. I have a suggestion
1. Have the hero pick up the item
2. Check if hero has any of the same kind
3. Stack
Here is my code (universal item stacker)
For condition add the items that are stackable.
Item Stacking
Event A unit aciqure an item
condition Stackable items (like potion)
Action
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
For each (Integer B) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer A) Not equal to (Integer B)
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item carried by (Hero manipulating item) in slot (Integer B)))
Then - Action
Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer B))))
Item - Remove (Item carried by (Hero manipulating item) in slot (Integer B))
Else - Actions
Do nothing
If you don't understand PM me (unQuote)
quote was taken from penknight in rdz stacking system of doom post
plus you can pm if you dont understand, which is nice
hope that helps