• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Problem with New Angel Arena map i am making.

Status
Not open for further replies.
Level 3
Joined
Aug 14, 2006
Messages
19
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?
 
I hope I understood you correctly;
I made an example for you which should hopefully help.

helphr8.jpg
 
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
 
Status
Not open for further replies.
Back
Top