Jump to content
Sign in to follow this  
miniroll

Trigger sync problem

Recommended Posts

Hi

I've made a mission with a series of waypoints that when triggered display a message on screen.

In the waypoint 'On Activation' box I make a variable become true 'waypoint1=true' for example. The I have a script running that has something like ?

#Triggers

? waypoint1 : goto "officer1"

goto "Triggers"

#officer1

titletext["The Officer has reached the first Waypoint!","Plain Down"]

Waypoint = False

goto "Triggers

This is only a portion of the script and it all works fine in a multiplayer game with just me in it. However when there are more people in it, The messages dont seem to come up on everyones pc's at the same time.

It seems the further away from the trigger when you activate, the less chance you have of getting the message.

Does OpFlash not pay to much attention to triggers on the other side of the map from a player to try and reduce lag?

Is there a way of making sure when a variable chnages, it is broadcast over the network so everyone knows about it?

Thanks for any help

Neal

Share this post


Link to post
Share on other sites

Try publicvaring the message, like

msg = titletext["The Officer has reached the first Waypoint!","Plain Down"]; publicvariable "msg"

Share this post


Link to post
Share on other sites

Balschoiw I did use a trigger to start with but that had the same problem.

I'll try out the publicVariable thing and see how it goes thanks

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  

×