OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: acdwrp on 13 Sep 2007, 14:11:57
-
ok, I need some help on this. Created a simple mp mission, and in one of the waypoints in on activ field wrote playmusic "filename.ogg". But for some reason only server can hear those soundtracks. I thought that waypoints are synchronized with all computers, or am i wrong?
-
In my OFP experience WP are local. If the code going into the OnActivation is global, you're fine, otherwise you need to publicVariable a boolean flag that sets off a trigger for everyone else, and have the trigger call your code.
-
I think I follow you Mr P.
Does this mean the code executed by a WP is local and that executed by a trigger is global?