# Player Has Talent
Grammar — Player p Has Talent talent
Flags —Native
|Function
# Arguments
int
— Playerstring
[ gamelink::Talent ] — Talent
Returns — bool
native bool PlayerHasTalent(int inPlayer, string inTalent);
# Related
Category: Player / Player Settings
- [F] —
void
— Modify Player Property (Integer) — ( PlayerModifyPropertyInt ) - [F] —
void
— Modify Player Property (Real) — ( PlayerModifyPropertyFixed ) - [F] —
int
— Player Property (Integer) — ( PlayerGetPropertyInt ) - [F] —
fixed
— Player Property (Real) — ( PlayerGetPropertyFixed ) - [F] —
void
— Modify Player Score (Integer) — ( PlayerScoreValueSetFromInt ) - [F] —
void
— Modify Player Score (Real) — ( PlayerScoreValueSetFromFixed ) - [F] —
int
— Player Score Value (Integer) — ( PlayerScoreValueGetAsInt ) - [F] —
fixed
— Player Score Value (Real) — ( PlayerScoreValueGetAsFixed ) - [F] —
void
— Turn Player Flag On/Off — ( PlayerSetState ) - [F] —
bool
— Player Flag Check — ( PlayerGetState ) - [F] —
bool
— Player License Check — ( PlayerHasLicense ) - [F] —
bool
— Player Access Check — ( PlayerHasAccessTo ) - [F] —
bool
— Player Has Reward — ( PlayerHasReward ) - [F] —
bool
— Player Has Talent — ( PlayerHasTalent ) - [F] —
text
— Name Of Player — ( PlayerName ) - [F] —
string
— Handle Of Player — ( PlayerHandle ) - [F] —
string
[ gamelink::Race ] — Race Of Player — ( PlayerRace ) - [F] —
string
[ gamelink::Hero ] — Hero Of Player — ( PlayerHero ) - [F] —
string
[ gamelink::Skin ] — Skin Of Player — ( PlayerSkin ) - [F] —
string
[ gamelink::Mount ] — Mount Of Player — ( PlayerMount ) - [F] —
string
[ gamelink::Spray ] — Spray Of Player — ( PlayerSpray ) - [F] —
string
[ gamelink::Artifact ] — Artifact Of Player — ( PlayerArtifact ) - [F] —
int
— Artifact Rank Of Player — ( PlayerArtifactRank ) - [F] —
string
[ gamelink::Commander ] — Commander Of Player — ( PlayerCommander ) - [F] —
int
— Commander Level Of Player — ( PlayerCommanderLevel ) - [F] —
int
— Commander Mastery Level Of Player — ( PlayerCommanderMasteryLevel ) - [F] —
int
— Commander Mastery Talent Rank Of Player — ( PlayerCommanderMasteryTalentRank ) - [F] —
int
— Commander Selected Prestige Of Player — ( PlayerCommanderSelectedPrestige ) - [F] —
int
— Brutal Plus Difficulty of Player — ( PlayerBrutalPlusDifficulty ) - [F] —
int
— Retry Mutation Index of Player — ( PlayerRetryMutation ) - [F] —
int
— Allied Commander Enemy Wave Type — ( PlayerACEnemyWaveType ) - [F] —
point
— Start Location Of Player — ( PlayerStartLocation ) - [F] —
int
[ preset::PlayerController ] — Controller Of Player — ( PlayerType ) - [F] —
int
[ preset::PlayerStatus ] — Status Of Player — ( PlayerStatus ) - [F] —
void
— Set Player Color — ( PlayerSetColorIndex ) - [F] —
void
— Set Player Race — ( PlayerSetRace ) - [F] —
void
— Set Player Hero — ( PlayerSetHero ) - [F] —
void
— Set Player Skin — ( PlayerSetSkin ) - [F] —
void
— Set Player Console Skin — ( PlayerSetConsoleSkin ) - [F] —
void
— Apply Player Skin — ( PlayerApplySkin ) - [F] —
void
— Apply Player Skin (Replacing Existing Unit) — ( libNtve_gf_PlayerApplySkinReplacingExistingUnit ) - [F] —
void
— Set Player Mount — ( PlayerSetMount ) - [F] —
void
— Set Player Spray — ( PlayerSetSpray ) - [F] —
void
— Set Player Commander — ( PlayerSetCommander ) - [F] —
void
— Set Player Commander Level — ( PlayerSetCommanderLevel ) - [F] —
void
— Set Player Commander Mastery Level — ( PlayerSetCommanderMasteryLevel ) - [F] —
void
— Set Player Death Timer — ( PlayerSetDeathTimer ) - [F] —
void
— Set Player Bounds — ( PlayerSetBounds ) - [F] —
void
— Add Player Talent — ( PlayerAddTalent ) - [F] —
void
— Remove Player Talent — ( PlayerRemoveTalent ) - [F] —
void
— Add Player Response — ( PlayerAddResponse ) - [F] —
void
— Remove Player Response — ( PlayerRemoveResponse ) - [F] —
void
— Clear Player Response — ( PlayerClearResponse ) - [F] —
int
[ playercolor ] — Player Color — ( PlayerGetColorIndex ) - [F] —
void
— Override Player Option — ( PlayerOptionOverride ) - [F] —
string
— Player Hotkey Profile — ( PlayerGetHotkeyProfile ) - [F] —
void
— Player Property Changed — ( TriggerAddEventPlayerPropChange ) - [F] —
void
— Player Joins Game — ( TriggerAddEventPlayerJoin ) - [F] —
void
— Player Leaves Game — ( TriggerAddEventPlayerLeft ) - [F] —
int
— Triggering Player — ( EventPlayer ) - [F] —
int
[ preset::Player_Property_Get ] — Triggering Player Property — ( EventPlayerProperty ) - [F] —
int
— Triggering Player Property Change (Integer) — ( EventPlayerPropertyChangeInt ) - [F] —
fixed
— Triggering Player Property Change (Real) — ( EventPlayerPropertyChangeFixed ) - [F] —
void
— Player Add Label — ( PlayerAddLabel ) - [F] —
void
— Player Remove Label — ( PlayerRemoveLabel ) - [F] —
void
— Player Remove All Labels — ( PlayerRemoveAllLabels ) - [F] —
bool
— Player Has Label — ( PlayerHasLabel ) - [F] —
void
— Player Add Reward — ( PlayerAddReward )
# Examples
# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlmod.stormmod
// L2173
PlayerHasTalent(lv_deadPlayer, "UtherMasteryRedemption")
# mods/heroesbrawlmods/brawlmapmods/coop/pvemod.stormmod
// L1771
PlayerHasTalent(lv_deadPlayer, "UtherMasteryRedemption")
# mods/heroesdata.stormmod
// L639
PlayerHasTalent(lp_owner, "ArtanisSpearofAdunPurifierBeamTargetPurified")
// L1693
PlayerHasTalent(lp_killingPlayer, "LostVikingsMasteryVikingBribery")
// L1766
PlayerHasTalent(lv_lVPlayer, "LostVikingsMasteryTheSequel")
// L1867
PlayerHasTalent(lv_lVPlayer, "LostVikingsMasterySpyGames")
// L2691
PlayerHasTalent(lp_player, "MurkyEggShell")
// L2695
PlayerHasTalent(lp_player, "MurkyFishEye")
// L2707
PlayerHasTalent(lp_player, "MurkyEggHunt")
// L5098
PlayerHasTalent(UnitGetOwner(lv_unit), "AbathurVolatileMutation")
// L5526
PlayerHasTalent(libGDHL_gf_AbathurSymbioteAbathurPlayer(), "AbathurSymbioteHivemind")
// L5557
PlayerHasTalent(lv_abathurPlayer, "AbathurSymbioteAdrenalOverload")
# mods/heroesdata.stormmod
// L9323
PlayerHasTalent(lp_killingPlayer, "StitchesPatchworkCreation")
// L12347
PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster")
// L12379
PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster")
// L12388
PlayerHasTalent(lp_player, "SamuroHeroicAbilityIllusionMaster")
// L16861
PlayerHasTalent(libGame_gf_HeroParticipatedInTakedownKillingPlayer(), "StitchesPatchworkCreation")
// L17368
PlayerHasTalent(lv_deadPlayer, "DiabloMasteryDyingBreathApocalypse")
// L17435
PlayerHasTalent(lv_deadPlayer, "UtherMasteryRedemption")
// L20855
PlayerHasTalent(lv_player, "KaelthasPhoenixRebirth")
// L20899
PlayerHasTalent(libGame_gf_UnitStopsOccupyingVehiclePlayer(), "KaelthasPhoenixRebirth")
# mods/heroesdata.stormmod
// L2807
PlayerHasTalent(UnitGetOwner(lp_unit), "AbathurMasteryBallistospores")
# mods/heroesdata.stormmod
// L721
PlayerHasTalent(lv_player, "GenericTalentRegenerationMaster")
// L729
PlayerHasTalent(lv_player, "GenericTalentSeasonedMarksman")
# mods/heroesdata.stormmod
// L6948
PlayerHasTalent(lp_player, "GuldanDarkBargain")
# mods/heromods/alarak.stormmod
// L264
PlayerHasTalent(lv_player, "AlarakDeadlyChargeFirstHeroic")
// L490
PlayerHasTalent(lv_player, "AlarakPureMalice")
# mods/heromods/alexstrasza.stormmod
// L299
PlayerHasTalent(EventUnitHealLaunchPlayer(), "AlexstraszaOverprotectiveAbundance")
# mods/heromods/amazon.stormmod
// L156
PlayerHasTalent(lv_amazonPlayer, "AmazonSurgeOfLight")
// L236
PlayerHasTalent(lv_amazonPlayer, "AmazonInnerLight")
# mods/heromods/ana.stormmod
// L583
PlayerHasTalent(lv_anaPlayer, "AnaHealingDartConcentratedDoses")
# mods/heromods/anduin.stormmod
// L112
PlayerHasTalent(lv_player, "AnduinBlessedRecovery")
# mods/heromods/auriel.stormmod
// L679
PlayerHasTalent(libHAUR_gv_heroAurielBestowHopeProxyOwner[lv_proxyPlayer], "AurielEmpathicLinkBestowHopeTalent")
// L772
PlayerHasTalent(lv_aurielPlayer, "AurielReservoirofHopeRayOfHeavenTalent")
// L785
PlayerHasTalent(lv_aurielPlayer, "AurielSearingLightRayOfHeavenTalent")
// L1189
PlayerHasTalent(lv_deadPlayer, "UtherMasteryRedemption")
// L1507
PlayerHasTalent(lv_aurielPlayer, "AurielLightSpeedResurrectTalent")
# mods/heromods/chogall.stormmod
// L538
PlayerHasTalent(lv_choPlayer, "ChoHourofTwilight")
// L585
PlayerHasTalent(libGame_gf_HeroKilledPlayer(), "GallPsychoticBreak")
// L639
PlayerHasTalent(lv_choPlayer, "ChoTheWillofCho")
// L683
PlayerHasTalent(lv_gallPlayer, "GallTheWillofGall")
// L773
PlayerHasTalent(lv_choPlayer, "ChoRunicFeedback")
// L827
PlayerHasTalent(lv_choPlayer, "ChoFuelForTheFlame")
// L868
PlayerHasTalent(lv_choPlayer, "ChoFuelForTheFlame")
// L1224
PlayerHasTalent(EventPlayer(), "ChoRollback")
# mods/heromods/dehaka.stormmod
// L133
PlayerHasTalent(lp_playerNumber, "DehakaEssenceCollectionTalentEnhancedAgility")
// L133
PlayerHasTalent(lp_playerNumber, "DehakaEssenceCollectionTalentEnhancedAgility")
// L172
PlayerHasTalent(lp_playerNumber, "DehakaEssenceCollectionTalentTissueRegeneration")
// L172
PlayerHasTalent(lp_playerNumber, "DehakaEssenceCollectionTalentTissueRegeneration")
// L386
PlayerHasTalent(lv_dehakaPlayer, "DehakaAdaptationChangeIsSurvivalTalent")
// L471
PlayerHasTalent(lv_dehakaPlayer, "DehakaAdaptationChangeIsSurvivalTalent")
// L608
PlayerHasTalent(lv_player, "DehakaEssenceCollectionTalentHeroStalker")
// L677
PlayerHasTalent(UnitGetOwner(lv_dehakaUnit), "DehakaEssenceCollectionOneWhoCollectsTalent")
# mods/heromods/dva.stormmod
// L384
PlayerHasTalent(lp_dVaPlayer, "DVaMechExpensivePlating")
// L1033
PlayerHasTalent(lv_dVaPlayer, "DVaMechAblativeArmor")
// L1037
PlayerHasTalent(lv_dVaPlayer, "DVaMechExpensivePlating")
// L1042
PlayerHasTalent(lv_dVaPlayer, "DVaSelfDestructBringItOn")
// L1204
PlayerHasTalent(lv_dVaPlayer, "DVaPilotCallMechMEKAfall")
// L1221
PlayerHasTalent(lv_dVaPlayer, "DVaPilotCallMechMEKAfall")
// L1654
PlayerHasTalent(lv_killingPlayer, "DVaPilotGGWP")
# mods/heromods/fenix.stormmod
// L113
PlayerHasTalent(lv_fenixPlayer, "FenixRapidRecharge")
// L148
PlayerHasTalent(lv_localPlayer, "FenixRapidRecharge")
// L190
PlayerHasTalent(lv_fenixPlayer, "FenixWarpWarfare")
# mods/heromods/firebat.stormmod
// L244
PlayerHasTalent(lv_bunkerDropPassengerPlayer, "SamuroHeroicAbilityIllusionMaster")
# mods/heromods/garrosh.stormmod
// L80
PlayerHasTalent(lv_garroshPlayer, "GarroshGroundbreakerMortalCombo")
# mods/heromods/genji.stormmod
// L101
PlayerHasTalent(lp_genjiPlayer, "GenjiDeflectDragonClaw")
// L114
PlayerHasTalent(lp_genjiPlayer, "GenjiDeflectZanshin")
// L120
PlayerHasTalent(lp_genjiPlayer, "GenjiDeflectZanshin")
// L130
PlayerHasTalent(lp_genjiPlayer, "GenjiDeflectAugmentedGuard")
// L233
PlayerHasTalent(lv_genjiPlayer, "GenjiCyberAgilityAgileDismount")
// L273
PlayerHasTalent(lv_genjiPlayer, "GenjiCyberAgilityAgileDismount")
// L378
PlayerHasTalent(lv_genjiPlayer, "GenjiDeflectReflect")
// L523
PlayerHasTalent(lv_genjiPlayer, "GenjiDeflectZanshin")
# mods/heromods/guldan.stormmod
// L207
PlayerHasTalent(EventUnitDamageSourcePlayer(), "GuldanLifeTapDarknessWithin")
# mods/heromods/hanzo.stormmod
// L471
PlayerHasTalent(lv_hanzoPlayer, "HanzoTargetPractice")
// L626
PlayerHasTalent(autoFA6CBC1D_var, "HanzoTargetPractice")
// L713
PlayerHasTalent(lv_hanzoPlayer, "HanzoNinjaAssassin")
# mods/heromods/kelthuzad.stormmod
// L113
PlayerHasTalent(lp_kelThuzadPlayer, "KelThuzadBarbedChains")
// L116
PlayerHasTalent(lp_kelThuzadPlayer, "KelThuzadStripShields")
// L117
PlayerHasTalent(lp_kelThuzadPlayer, "KelThuzadPowerOfIcecrown")
// L141
PlayerHasTalent(lp_kelThuzadPlayer, "KelThuzadChainLink")
// L319
PlayerHasTalent(lv_owner, "KelThuzadPowerOfIcecrown")
// L356
PlayerHasTalent(lv_player, "KelThuzadDeathchill")
# mods/heromods/lucio.stormmod
// L432
PlayerHasTalent(EventPlayer(), "LucioReverseAmpNonstopRemix")
// L477
PlayerHasTalent(lv_player, "LucioAmpItUpMaximumTempoQuest")
// L519
PlayerHasTalent(UnitGetOwner(lv_lucioUnit), "LucioBackInTheMix")
// L571
PlayerHasTalent(UnitGetOwner(lv_lucioUnit), "LucioWallRideCantStopWontStop")
// L610
PlayerHasTalent(UnitGetOwner(lv_boomboxUnit), "LucioAmpItUpSynaesthesiaAuditiva")
# mods/heromods/malganis.stormmod
// L548
PlayerHasTalent(lv_castingPlayer, "MalGanisDarkConversionWrathOfNathreza")
# mods/heromods/malthael.stormmod
// L298
PlayerHasTalent(lv_player, "MalthaelReaperOfSouls")
# mods/heromods/medivh.stormmod
// L709
PlayerHasTalent(lv_medivhPlayer, "MedivhForceOfWillReabsorption")
// L716
PlayerHasTalent(lv_medivhPlayer, "MedivhForceOfWillEnduringWill")
// L720
PlayerHasTalent(lv_medivhPlayer, "MedivhForceofMagic")
// L728
PlayerHasTalent(lv_medivhPlayer, "MedivhForceOfWillArcaneExplosion")
# mods/heromods/mephisto.stormmod
// L79
PlayerHasTalent(lv_owner, "MephistoLightningNovaStaticBarrier")
// L118
PlayerHasTalent(lv_mephistoPlayer, "MephistoLightningNovaStaticBarrier")
# mods/heromods/nexushunter.stormmod
// L309
PlayerHasTalent(lv_player, "NexusHunterFinalStrike")
# mods/heromods/orphea.stormmod
// L111
PlayerHasTalent(lv_player, "OrpheaEngulfingOblivion")
# mods/heromods/probius.stormmod
// L83
PlayerHasTalent(lp_player, "ProbiusConstructAdditionalPylonsPylonOvercharge")
// L89
PlayerHasTalent(lp_player, "ProbiusConstructAdditionalPylonsPylonOvercharge")