# Portrait Is Visible

Grammarportrait is visible for player player
FlagsNative | Function

Returns true if the specified portrait is visible for the specified player.

# Arguments

  • int [ portrait ] — Portrait
  • int — Player

Returns — bool

native bool PortraitVisible(int p, int player);

Category: Portrait / Basic

# Examples

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L873
PortraitVisible(libSwaC_gv_zS_SendTransmissionCampaignPortrait, 1)
// L2545
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L2548
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L2551
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L2585
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L2806
PortraitVisible(libVCMI_gv_pM_SendTransmissionCampaignPortrait, 1)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L4152
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L4155
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L4158
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L3020
PortraitVisible(libNCMI_gv_NM_SendTransmissionCampaignPortrait, 1)

# mods/missionpacks/novacampaign.sc2mod

LibNCUI.galaxy

// L3645
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L3648
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L3651
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L10699
PortraitVisible(libCOMI_gv_cM_SendTransmissionCampaignPortrait, 1)

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L3226
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L3229
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L3232
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L564
PortraitVisible(libA3DDD02B_gv_pP_SendTransmissionCampaignPortrait, 1)
// L1539
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L1542
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L1545
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)
// L1579
PortraitVisible(libNtve_gf_CinematicPortrait(libNtve_ge_CinematicPortraitPosition_CenterLeft), 1)