Play sound on enter region
Posted: Sat Feb 06, 2010 11:45 pm
Is it possible to make the game play a voiceover when the player enters a certain area or are sounds tied only to objectives or timers?
Code: Select all
BroadcastVoiceOver("GEO_obj_54", ATT)
ScriptCB_SndPlaySound("SPA1_obj_52")
StartTimer(music01Timer)
OnTimerElapse(
function(timer)
ScriptCB_StopInGameMusic("imp_dea_objComplete_01")
ScriptCB_PlayInGameMusic("imp_dea_act_01")
DestroyTimer(timer)
end,
music01Timer
)
end
end