Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Custom tracks  (Read 2238 times)

0 Members and 2 Guests 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?