I was wondering is it possible to trigger a sound through an lua function?
thanks in advance.
Trigger sound from lua fuction?
Moderator: Moderators
-
MsHwIz
- Private Second Class
- Posts: 73
- Joined: Sat Feb 07, 2009 6:10 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Nowhere :) :)
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: sound from lua fuction?
Yes.
...but I assume you are also asking how:
ScriptCB_SndPlaySound("sound_name")
Edit: As a side note, this may only play sounds that inherit from the voiceover (vo) template. That's not a problem, but it may be something to consider when setting up your sounds.
...but I assume you are also asking how:
ScriptCB_SndPlaySound("sound_name")
Edit: As a side note, this may only play sounds that inherit from the voiceover (vo) template. That's not a problem, but it may be something to consider when setting up your sounds.
