Warcraft III resources & community, 2003–2006 · archived

Problem with New Angel Arena map i am making.

3 posts
#1

Problem with New Angel Arena map i am making.

I am making a new map, named Angel Arena: Frozen

Basically i'm balancing the Angel Arena map, and adding much new features such as evolving heroes, also altered tileset and will be changing terrain/items more as i finish new versions.

However i am having one major problem concerning the new evolving heroes, they lose their items when you advance to the next hero and i have, as of yet, completely failed to fix this, could anyone tell me how to do it?
#3
OOooor if you want to preserve item order you need to add dummy items into empty slots befor giving items, and then remove them.

ToolsInheritItems
Events
Conditions
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item = (Item carried by Unit2 in slot (Integer A))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Item Equal to No item
Then - Actions
Hero - Create Dummy and give it to Unit
Else - Actions
Hero - Give Item to Unit
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Item = (Item carried by Unit in slot (Integer A))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of Item) Equal to Dummy
Then - Actions
Item - Remove Item
Else - Actions