(Keeps Hive Alive)
The Hive Workshop
 Remember Me?
 Register FAQ Members List Calendar Mark Forums Read

 Map Development Discuss your developing maps. Release beta tests and get useful feedback before the final release. If your map is fully complete or is a late Beta, then it can be uploaded directly to our Maps Section. Otherwise, attach the map to your post. This is NOT a forum to ask questions about the Editor!

 06-02-2006, 10:32 AM #1 (permalink) corley User     Join Date: Apr 2006 Posts: 525 item stacking help i need help with some basic item stacking (potions mainly) i have read some tutorials but i cant seem to find half of the triggers/variables needed, so im wondering if anyone could help out by me giving them the map and they uplaod the trigger i dont know, or if there is another way or if someone has some ready made stacking triggers this would be great, thx for anyt help.
 06-02-2006, 07:00 PM #2 (permalink) Eziekiel_Rage User   Join Date: Mar 2005 Posts: 121 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

 Bookmarks

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post [Trigger] Item Stacking Tide-Arc Ephemera Triggers & Scripts 5 06-18-2007 12:11 PM Gost World Editor Help Zone 4 04-03-2007 02:42 AM corley Map Development 3 04-03-2006 09:47 AM Covenant-Assassin Map Development 0 06-19-2005 12:36 AM shiggityshwa Map Development 5 07-30-2004 08:39 PM

All times are GMT. The time now is 05:12 AM.

 -- Low Graphics ---- Night Elf ---- Terran (Beta) Contact Us - The Hive Workshop - The Warcraft 3 Modding Site - Archive - Top