my problem is two-fold. first, i cannot figure out how to make computer player units drop gold upon death like how neutral passive creeps do. all units have a "gold bounty" data set in the object editor but this is either disabled for computer players or it is not what i think it is. it is important that the units im trying to have drop gold upon death are computer owned units, not neutral passive
second, im trying to figure out how to give a unit an item drop set upon creation. i know this is possible because i have seen this done in war chasers, but i cannot find the script to make it work. i know how you can set an ability to be activated for a unit that doesnt yet exsist: (pick all units in the group ((units owned by player 1 of type - necromancer)) and do action ((issue order to all picked units - activate ability: raise skeleton))) - this would affect all future necromancers created after the trigger initialization... i cannot, however, seem to be able to use this same process to give all future necromancers a drop item set so that, say, every time i kill a necro theres a 30% chance that it will drop a potion of healing.
sorry for the long winded, two-fold question, but they are both related to eachother and if i can get just one of them to work, my problem will be essentially solved. having the answer to both would be great for future knowledge though. thnx much
second, im trying to figure out how to give a unit an item drop set upon creation. i know this is possible because i have seen this done in war chasers, but i cannot find the script to make it work. i know how you can set an ability to be activated for a unit that doesnt yet exsist: (pick all units in the group ((units owned by player 1 of type - necromancer)) and do action ((issue order to all picked units - activate ability: raise skeleton))) - this would affect all future necromancers created after the trigger initialization... i cannot, however, seem to be able to use this same process to give all future necromancers a drop item set so that, say, every time i kill a necro theres a 30% chance that it will drop a potion of healing.
sorry for the long winded, two-fold question, but they are both related to eachother and if i can get just one of them to work, my problem will be essentially solved. having the answer to both would be great for future knowledge though. thnx much