Play sound on enter region
Moderator: Moderators
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Play sound on enter region
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?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Play sound on enter region
I think that a sound region, its in the docs
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: Play sound on enter region
Soundregions are stuff like the cantina music playing in Tatooine.
-
Redline
- 2nd Lieutenant

- Posts: 396
- Joined: Tue Jan 16, 2007 4:22 pm
- Projects :: Space to Ground [reworking]
- xbox live or psn: No gamertag set
- Location: The left side of the moon
- Contact:
Re: Play sound on enter region
I guess it should be possible, because if u look at the campain mode scripts then u can see same funny codes^^
like
And all u have to do is it to connect it with a region i think, but wait u wanna add some new voice?
Ps:Try to work with them.
like
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
Ps:Try to work with them.
