Hey all
Im fairly new to JASS but i know a few things. Any way here is my problem im making a map that is revovled around Capturing the enemy flag. One of the problems i am having is 2 of my triggers are over writing each other. For example i have a trigger
Events
Unit- A Unit Accquires an item
Unit - A unit Dies (This is my problem i think)
Conditions
(Item-class of Team 1's flag 0002 <gen>) Equal to Miscellaneous
((Triggering Unit) is A Hero) Equak to True
Actions
Wait 6.00 seconds
Item - move Team 2;s Flag 0000 <GEN> to (Point(-6574, -442.00))
If i have the other teams flag and any random unit dies on the map the flag automaticly returns to its original spot. Ithe Unit dies command is causing me the most problems any advice will help.
Thanks alot!
Im fairly new to JASS but i know a few things. Any way here is my problem im making a map that is revovled around Capturing the enemy flag. One of the problems i am having is 2 of my triggers are over writing each other. For example i have a trigger
Events
Unit- A Unit Accquires an item
Unit - A unit Dies (This is my problem i think)
Conditions
(Item-class of Team 1's flag 0002 <gen>) Equal to Miscellaneous
((Triggering Unit) is A Hero) Equak to True
Actions
Wait 6.00 seconds
Item - move Team 2;s Flag 0000 <GEN> to (Point(-6574, -442.00))
If i have the other teams flag and any random unit dies on the map the flag automaticly returns to its original spot. Ithe Unit dies command is causing me the most problems any advice will help.
Thanks alot!