# Player Has Active Transmission
Grammar — Player player Has Active Transmission
Flags —Native
|Function
Returns whether any transmissions are active for the specified player.
# Arguments
int
— Player
Returns — bool
native bool TransmissionPlayerHasActiveTransmission(
int inPlayerId,
);
# Related
Category: Transmission / Basics
- Send Transmission For Player (deprecated) —
int
<transmission> — TransmissionSendForPlayer - Send Transmission For Player —
int
<transmission> — TransmissionSendForPlayerSelect - Send Transmission (Simple) —
void
— libNtve_gf_SendTransmissionSimple - Last Sent Transmission —
int
<transmission> — TransmissionLastSent - Player Has Active Transmission —
bool
— TransmissionPlayerHasActiveTransmission - Wait For Transmission —
void
— TransmissionWait - Stop Transmission —
void
— TransmissionClear - Stop All Transmissions —
void
— TransmissionClearAll - Stop Group Transmissions —
void
— TransmissionClearGroup - Transmission Is Complete —
bool
— TransmissionIsComplete - Turn Transmission Option On/Off —
void
— TransmissionSetOption - Transmission Comment (Sound)
- Transmission Comment (Conversation)
# Examples
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:3368
TriggerEnable(TriggerGetCurrent(), false);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
gv_purifierWardenBattlecryCount += 1;
TriggerQueueEnter();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:3368
TriggerEnable(TriggerGetCurrent(), false);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
gv_purifierWardenBattlecryCount += 1;
TriggerQueueEnter();
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:6805
}
if ((TransmissionPlayerHasActiveTransmission(1) == true)) {
return true;
}
mods/heroesbrawlmods/arenamodemods/templearena.stormmod — base.stormdata/LibAMCT.galaxy:112
lv_itPlayer = PlayerGroupNextPlayer(auto0249858B_g, lv_itPlayer);
if (lv_itPlayer<0) { break; }
if ((TransmissionPlayerHasActiveTransmission(lv_itPlayer) == true)) {
lv_finished = false;
break;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/HeroesLib.galaxy:4059
lv_itPlayer = PlayerGroupNextPlayer(autoBB4504D2_g, lv_itPlayer);
if (lv_itPlayer<0) { break; }
if ((TransmissionPlayerHasActiveTransmission(lv_itPlayer) == true)) {
lv_finished = false;
break;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:5820
}
if (!((TransmissionPlayerHasActiveTransmission(1) == false))) {
return false;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:6144
}
if (!((TransmissionPlayerHasActiveTransmission(1) == false))) {
return false;
}
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:4674
lv_unit01 = UnitGroupUnit(UnitGroup(null, gv_pLAYER_06_DEFENDERSOFMAN, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
lv_unit02 = UnitGroupUnit(UnitGroup(null, gv_pLAYER_06_DEFENDERSOFMAN, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 2);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
TriggerQueueEnter();
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:4735
lv_unit01 = UnitFromId(104);
lv_unit02 = UnitFromId(106);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
TriggerQueueEnter();
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:4674
lv_unit01 = UnitGroupUnit(UnitGroup(null, gv_pLAYER_06_DEFENDERSOFMAN, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1);
lv_unit02 = UnitGroupUnit(UnitGroup(null, gv_pLAYER_06_DEFENDERSOFMAN, RegionFromId(64), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 2);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
TriggerQueueEnter();
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:4735
lv_unit01 = UnitFromId(104);
lv_unit02 = UnitFromId(106);
if ((TransmissionPlayerHasActiveTransmission(gv_pLAYER_01_USER) == false)) {
TriggerQueueEnter();
libComC_gf_SetAllSoundChannelVolumesCampaign(libComC_ge_VolumeChannelModeCampaign_Speech);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:10687
}
if ((TransmissionPlayerHasActiveTransmission(lp_player) == false)) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5852
}
ConversationDataRun(UserDataGetGameLink("MissionTransmission", libCOMI_gv_cM_TransmissionCurrentType, "Conversation", 1), PlayerGroupAll(), c_conversationSkipNone, true);
while (!((TransmissionPlayerHasActiveTransmission(1) == false) && (TransmissionPlayerHasActiveTransmission(2) == false))) {
Wait(0.0625, c_timeGame);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOUI.galaxy:5852
}
ConversationDataRun(UserDataGetGameLink("MissionTransmission", libCOMI_gv_cM_TransmissionCurrentType, "Conversation", 1), PlayerGroupAll(), c_conversationSkipNone, true);
while (!((TransmissionPlayerHasActiveTransmission(1) == false) && (TransmissionPlayerHasActiveTransmission(2) == false))) {
Wait(0.0625, c_timeGame);
}