M
MrJoeS
Guest
I want to use the Villager 3d model for a hero, and I'd like him to use the "attack" animation when he cast spells. The default is for him to stand still, or scratch his neck. Am I out of luck?
Untitled Trigger 001
Events
Unit - A unit owned by Player 1 (Red) Is issued an order targeting an object
Conditions
(Issued order) Equal to (Order(frostnova))
[your spell is based off frost nova]
Actions
set <pickpocket_target> = (target unit of issued order)
[unit variable]
Larceny
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Pick Pocket
Actions
Set Loot = (Item-type of (Item carried by <pickpocket_target> in slot 1))
Item - Remove (Item carried by <pickpocket_target> in slot 1)
Hero - Create Loot and give it to (casting unit)