Jass documentation Database

JASS Documentation Database REFORGED


Results for the query "PlayDialogueFromSpeakerTypeEx" as a "function"

The search keyword must be a single word (no spaces).

Function PlayDialogueFromSpeakerTypeEx

Line: 6802
Location: blizzard.j
Constant? no
Type: function
Arguments: force toForce, player fromPlayer, integer speakerType, location loc, sound soundHandle, integer timeType, real timeVal, boolean wait
Returns: boolean

Preview

Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. function PlayDialogueFromSpeakerTypeEx takes force toForce, player fromPlayer, integer speakerType, location loc, sound soundHandle, integer timeType, real timeVal, boolean wait returns boolean
  2.  
  3.     // Ensure that the time value is non-negative.
  4.     set timeVal = RMaxBJ(timeVal, 0)
  5.  
  6.     set bj_lastTransmissionDuration = GetTransmissionDuration(soundHandle, timeType, timeVal)
  7.     set bj_lastPlayedSound = soundHandle
  8.  
  9.     if (IsPlayerInForce(GetLocalPlayer(), toForce)) then
  10.         if(speakerType != 0) then
  11.         endif
  12.     endif
  13.  
  14.     if wait and (bj_lastTransmissionDuration > 0) then
  15.         // call TriggerSleepAction(bj_lastTransmissionDuration)
  16.         call WaitTransmissionDuration(soundHandle, timeType, timeVal)
  17.     endif
  18.  
  19.     return true
  20. endfunction
"You have ten seconds to comply!" Hmmm... there's no info about this keyword... be the first one in contribute with the keyword PlayDialogueFromSpeakerTypeEx. You must be logged into the site in order to give us a hand in keeping updated the information. If you don't have an account, you can create one here.
Page loaded in 0.0708 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...