Jump to content
Sign in to follow this  
Ford555

its possible to play a sound with FSM file?

Recommended Posts

sorry about my english:

i created a fsm file with this instructions community.bistudio.com/wiki/FSM] using FSM editor. it has some states and conditions for a zombie.

problem is that when zombie attack i need play a sound like "arrrrgh" called "attack" but only from my computer i can hear it, but when i save the mission for multiplayer missions and create a dedicated server nobody hear this (including me).

what i do is in the .fsm file, in the state "chase" condition i write: _zombie say "attack";

and the sound "attack" is perfectly defined in description file.

i repeat, it works fine when i edit the mission and i run it in a NOT multiplayer game.

need i create a trigger or something in the editor's game?

can someone help me? thanks a lot!

Share this post


Link to post
Share on other sites

That's because say is a local command.

Try

[nil,_zombie,rSay,"attack"] call RE;

You need the functions module on the map.

Share this post


Link to post
Share on other sites
That's because say is a local command.

Try

[nil,_zombie,rSay,"attack"] call RE;

You need the functions module on the map.

You are my GOD!, thank you!. ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×