if you want a unit to give gold when killed, you can either trigger it, or, if all units of one player should give gold, use the trigger action: Player - set Player flag -> Turn gives Bounty on for Player X
i guess the thing you are after is the second one. in object editor you can set the bounty values for the specific units