FOnline Development > Questions and Answers
Sound effects
(1/1)
hexer:
Does mapper support placing sound effects on map or do I have to assign them to objects through scripts?
Wipe:
Nop, have to be done in scripts; it's pretty easy with triggers, and i'm [almost] sure there should be some examples around.
hexer:
Some questions regarding sound and music...
1) Do I have to assign voiced dialog through scripts? The dialog tool doesn't support voiced lines from the editor?
2) Can I control somehow worldmap music so different music starts to play when a different vehicle is used?
lisac2k:
As for 1) you can script some general functions for playing soundfx (i.e. voiced dialogue) in your scripts and then pass the parameters from the dialogue editor... So, when player clicks on a dialogue line, the param is passed to script which then, in turn, plays specific sound file.
2) This should be quite possible; see the events in the scripts of some of our 2238 items, like picking up or using an item - this triggers an event which kicks in and makes something happen.
Navigation
[0] Message Index
Go to full version