Greetings,
I'm trying to create certain mechanics for a unit:
Flying machine is supposed to pick up explosive barrel, getting a new ability to throw the explosive barrel and the graphics of explosive barrel attached to origin point of unit. Upon casting the ability, he loses the ability, explosion happens and attachment model of explosive barrel is removed.
Everything except for the underlined part works. For the attachment, I'm using 'Item armor bonus' with:
Art - Target: Barrel of Explosives
Art - Target attachment point: origin
...
Art - Target attachments: 1
So the problem is following:
I can't seem to attach 'Barrel of Explosives' model to a unit. If I pick a missle or unit as the model of attachment everything seems to work perfectly. However I need the explosive barrel to be attached to the unit.
I do know that I could go around it and create a trigger of "Create speciall effect at the origin point with explosive barrel model" which works exactly as I want the above spell to work, however attachments can't be easily removed after the flying machine drops the explosive barrel. Which excludes triggers, unless I'm missing something here.
Any help is appreciated.
I'm trying to create certain mechanics for a unit:
Flying machine is supposed to pick up explosive barrel, getting a new ability to throw the explosive barrel and the graphics of explosive barrel attached to origin point of unit. Upon casting the ability, he loses the ability, explosion happens and attachment model of explosive barrel is removed.
Everything except for the underlined part works. For the attachment, I'm using 'Item armor bonus' with:
Art - Target: Barrel of Explosives
Art - Target attachment point: origin
...
Art - Target attachments: 1
So the problem is following:
I can't seem to attach 'Barrel of Explosives' model to a unit. If I pick a missle or unit as the model of attachment everything seems to work perfectly. However I need the explosive barrel to be attached to the unit.
I do know that I could go around it and create a trigger of "Create speciall effect at the origin point with explosive barrel model" which works exactly as I want the above spell to work, however attachments can't be easily removed after the flying machine drops the explosive barrel. Which excludes triggers, unless I'm missing something here.
Any help is appreciated.