Name | Type | is_array | initial_value |
GenericBoolean | boolean | No | |
GenericString | string | No | |
localplayer | player | No | |
QuestGenBaseCount | integer | No | |
QuestGenBaseNames | string | Yes | |
QuestGenCompleteLine | string | Yes | |
QuestGenCompleteLineCount | integer | No | |
QuestGenCurrentUnit | unit | No | |
QuestGenGreetingCount | integer | No | |
QuestGenGreetingLines | string | Yes | |
QuestGenHotspotCount | integer | Yes | |
QuestGenHotspots | location | Yes | |
QuestGenLargeHotspots | location | Yes | |
QuestGenMonsterAction | string | Yes | |
QuestGenMonsterActionCount | integer | No | |
QuestGenMonsterBaseBuildingA | unitcode | Yes | |
QuestGenMonsterBaseBuildingB | unitcode | Yes | |
QuestGenMonsterBaseUnits | unitcode | Yes | |
QuestGenMonsterCount | integer | No | |
QuestGenMonsterCrime | string | Yes | |
QuestGenMonsterCrimeCount | integer | No | |
QuestGenMonsterLevels | integer | Yes | |
QuestGenMonsterNames | string | Yes | |
QuestGenMonsters | unitcode | Yes | |
QuestGenPlayerCurrentQuest | string | Yes | |
QuestGenPlayerNumber | integer | No | |
QuestGenQuestCooldown | integer | Yes | |
QuestGenQuestGivers | group | No | |
QuestGenQuestText | string | No | |
QuestGenRetrievalItemCount | integer | No | |
QuestGenRetrievalItems | itemcode | Yes | |
QuestGenRetrievalLineCount | integer | No | |
QuestGenRetrievalLines | string | Yes | |
QuestGenRewardCount | integer | No | |
QuestGenRewardItemPercent | real | Yes | |
QuestGenRewardItems | itemcode | Yes | |
QuestGenTargetDistance | real | No | |
QuestGenXpFactor | real | No | |
Temp_Group | group | No | |
Temp_Integer | integer | No | |
Temp_Point | location | No | |
Temp_Point2 | location | No | |
Temp_Real | real | No |
function Trig_Local_Sound_Actions takes nothing returns nothing
if udg_GenericBoolean == true then
if GetLocalPlayer() == udg_localplayer then
call PlaySoundBJ( gg_snd_QuestActivateWhat1 )
endif
else
if GetLocalPlayer() == udg_localplayer then
call PlaySoundBJ( gg_snd_GoodJob )
endif
endif
endfunction
//===========================================================================
function InitTrig_Local_Sound takes nothing returns nothing
set gg_trg_Local_Sound = CreateTrigger( )
call TriggerAddAction( gg_trg_Local_Sound, function Trig_Local_Sound_Actions )
endfunction