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!
Hi, i wonder why my map got error after copy all trigger from other maps. I copy all triggers/spells and variable. Is there is something wrong with it? I attach the map that i want to copy all its trigger along with error code that i got.
Unit Group - Pick every unit in (Units within 275.00 of CasterLoc matching ((((Matching unit) is A structure) Equal to False) and (((Matching unit) belongs to an enemy of (Triggering player)) Equal to True))) and do (Actions)
Loop - Actions
Set Unit[2] = (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Unit[2] Not equal to No unit
Then - Actions
Set HandleID = (Key (Picked unit))
Hashtable - Save Handle OfUnit[1] as (Key Caster) of HandleID in BCHash
Works perfectly fine when I import it. How did you copy all the variables? Did you have "Automatically create unknown variables while pasting trigger data" checked before you copy-pasted it into your map?
Looks like the variables were not copied? At least that would explain all the name based errors.
Make sure "Automatically create unknown variables while pasting trigger data" is turned on. Delete what has already been copied across until no errors occur on save. Finally try to copy the triggers across again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.