Home   Help Search Login Register  

Author Topic: Custom tracks  (Read 1484 times)

0 Members and 1 Guest are viewing this topic.

Offline acdwrp

  • Members
  • *
Custom tracks
« 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?

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Custom tracks
« Reply #1 on: 14 Sep 2007, 16:31:53 »
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.
urp!

Offline Nixer6

  • Members
  • *
Re: Custom tracks
« Reply #2 on: 15 Sep 2007, 00:08:29 »
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?
Why do I have to be a Rocket Scientist to make a good mission?