How do I make it where the unit controlled by the computer uses it's abilities ? The computer controlled unit on my map doesnt use any of it's abilities.
Also how do I make a enemy unit drop items on death ? When he isnt on the map untill later.
To 1. Use fixed player settings (Scenario/Force Properties), and be sure you set the controller of the player to computer (in Scenario/Player Properties)
To 2. Looking up the triggers, plz wait
Hm, there's no trigger to add an item drop to a unit. But you can do it by triggers, e.g.
ItemCreation Events Unit - A unit Dies Conditions Actions Item - Create (Random level 3 item-type) at (Position of (Dying unit))
You mean: A hero shall drop an item out of his inventory on his death (specific item or all items?)
I will create a trigger for a specific item drop on dead and add it to this post in some mins
OK, here it is.
Events
Unit - A unit Dies
Conditions [list]((Dying unit) is A Hero) Equal to True Or - Any (Conditions) are true Conditions
(Item-type of (Item carried by (Dying unit) in slot 1)) Equal to [YourItem] (Item-type of (Item carried by (Dying unit) in slot 2)) Equal to [YourItem] (Item-type of (Item carried by (Dying unit) in slot 3)) Equal to [YourItem] (Item-type of (Item carried by (Dying unit) in slot 4)) Equal to [YourItem] (Item-type of (Item carried by (Dying unit) in slot 5)) Equal to [YourItem] (Item-type of (Item carried by (Dying unit) in slot 6)) Equal to [YourItem]
[/list:u] Actions
Hero - Drop (Item carried by (Dying unit) of type [YourItem]) from (Dying unit)