| 01-09-2007, 05:48 PM | #2 |
An item must exist to be given to a hero. If you remove the item, you'll have to create another of the same type for it be given to the hero. |
| 01-09-2007, 06:41 PM | #3 | |
Quote:
Ahhh, that makes sense. So this is the right way to do it? Trigger: Hero - Create (Item-type of GoreBusItems[1]) and give it to (Summoned unit)Edit: Damn. Still doesn't work. |
| 01-09-2007, 06:46 PM | #4 |
Trigger: Set GoreBusItems[2] = (Item carried by (Triggering unit) in slot 2)EDIT: I dont think that will work if GoreBusItems[1] is "No Item" (after youve removed it) |
| 01-09-2007, 06:49 PM | #5 | |
Quote:
Set GoreBusItems[1] = (Item carried by (Triggering unit) of type (Item-type of (Item being manipulated))) ? How would I better go about making sure someone doesn't trick the array into free items? |
| 01-10-2007, 02:46 AM | #6 |
Can you use an itemtype variable instead of item? I don't know if you can it's been a while since I've used the World Editor. Assuming that will work, just set the value to null or "No Itemtype" or whatever it needs to be after you give it to the resummoned thing. |
| 01-10-2007, 02:47 PM | #7 | |
Quote:
Did that, but for whatever reason it only keeps track of inventory slot 1. |
