# Send Transmission (Advanced) (Deprecated)
Grammar — Send transmission (advanced) to Players from Source playing Sound with name Speaker and message Subtitle using Target with portraitActor playing PortraitAnim|Anim (DurationType Duration seconds, WaitUntilDone|Wait/Don’t Wait until it finishes)
Flags —Action
|Hidden
Sends a transmission with sound and an optional portrait actor to the specified players from a source unit or model. Use “Last Sent Transmission” to refer to this transmission after it has begun.
# Arguments
playergroup
— Playerstransmissionsource
— Sourceint
<portrait> — Portraitstring
— Portrait Actorstring
<modelanim> — Portrait Animsoundlink
— Soundtext
— Nametext
— Messagefixed
— Durationint
<preset::TransmissionDurationType> — DurationTypebool
<preset::Trigger_Wait_Option> — WaitUntilDone
Returns — int
<transmission>
int TransmissionSendAdvanced(
playergroup lp_Players,
transmissionsource lp_Source,
int lp_Target,
string lp_portraitActor,
string lp_PortraitAnim,
soundlink lp_Sound,
text lp_Speaker,
text lp_Subtitle,
fixed lp_Duration,
int lp_DurationType,
bool lp_WaitUntilDone,
);
# Related
Category: Transmission / Deprecated
- Send Transmission (Advanced) (Deprecated) —
int
<transmission> — TransmissionSendAdvanced - Send Transmission (Deprecated) —
int
<transmission> — TransmissionSend
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:956
}
TransmissionSendAdvanced(PlayerGroupAll(), lv_source, lv_portrait, lp_portraitActor, "Talk", lp_sound, lp_speaker, lp_message, lp_duration, lp_durationType, lp_waitUntilDone);
if ((lp_waitUntilDone == false)) {
libSwaC_gf_ZS_SendTransmissionCampaignCleanUp(TransmissionLastSent(), lp_keepPortraitVisible, lv_portrait, lv_talkBubble, lv_talkRing, lv_ping, lv_localIndex);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2877
}
TransmissionSendAdvanced(PlayerGroupAll(), lv_source, lv_portrait, lp_portraitActor, "Talk", lp_sound, lp_speaker, lp_message, lp_duration, lp_durationType, lp_waitUntilDone);
if ((lp_waitUntilDone == false)) {
libVCMI_gf_PM_SendTransmissionCampaignCleanUp(TransmissionLastSent(), lp_keepPortraitVisible, lv_portrait, lv_talkBubble, lv_talkRing, lv_ping, lv_localIndex);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:3091
}
TransmissionSendAdvanced(PlayerGroupAll(), lv_source, lv_portrait, lp_portraitActor, "Talk", lp_sound, lp_speaker, lp_message, lp_duration, lp_durationType, lp_waitUntilDone);
if ((lp_waitUntilDone == false)) {
libNCMI_gf_NM_SendTransmissionCampaignCleanUp(TransmissionLastSent(), lp_keepPortraitVisible, lv_portrait, lv_talkBubble, lv_talkRing, lv_ping, lv_localIndex);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:10806
}
TransmissionSendAdvanced(PlayerGroupAll(), lv_source, lv_portrait, lp_portraitActor, "Talk", lp_sound, lp_speaker, lp_message, lp_duration, lp_durationType, lp_waitUntilDone);
if ((lp_waitUntilDone == false)) {
libCOMI_gf_CM_SendTransmissionCampaignCleanUp(TransmissionLastSent(), lp_keepPortraitVisible, lv_portrait, lv_talkBubble, lv_ping, lv_localIndex);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:644
}
TransmissionSendAdvanced(PlayerGroupAll(), lv_source, lv_portrait, lp_portraitActor, "Talk", lp_sound, lp_speaker, lp_message, lp_duration, lp_durationType, lp_waitUntilDone);
if ((lp_waitUntilDone == false)) {
libA3DDD02B_gf_PP_SendTransmissionCampaignCleanUp(TransmissionLastSent(), lp_keepPortraitVisible, lv_portrait, lv_talkBubble, lv_talkRing, lv_ping, lv_localIndex);