The last ability of Liliana's Talent will trigger whenever a creature deals any damage to the enchanted planeswalker, not just combat damage.

Artwork
Loading artwork…
Liliana's Talent
March of the Machine Commander · #76 · EN
Nonfoil—Foil—
Card rules
Enchant planeswalker
Enchanted planeswalker has "[−8]: Put all creature cards from all graveyards onto the battlefield under your control."
Whenever a creature deals damage to enchanted planeswalker, destroy that creature.
Rare · Illustrated by A. M. Sartor
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You can activate one loyalty ability of each planeswalker you control during each of your turns, whether that ability is one it always has or the one it gains because of Liliana's Talent.