Jump to content
Sign in to follow this  
hoz

Mp question

Recommended Posts

I am using the command addscore to award players when they rescue a pow. Now I have the command working and it increases the players score when they rescue the pow however the score awared only shows on the computer of the player awarded the points.

I use a trigger to award the points based on a true condition.

Just to add... I also use a hint in the same trigger and this is visible on each pc.

Anyone know a solution?

Hoz

Share this post


Link to post
Share on other sites

Any one know a way to make this work on all clients?

hoz

Share this post


Link to post
Share on other sites

Just a suggestion (not tested):

Try adding...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">publicvariable player

to your activation line.

Here is what I think happens -

Each client (and the server) run a seperate trigger. When one of the players reaches a TRUE condition, the trigger activates on that client only. I am not sure why the hint shows up on all clients though, I'd have to see your mission. There is a script way around this problem, but I believe that transmitting the player info to all clients with publicvariable will update their info to the correct score.

I am not 100% sure about this.... wink_o.gif

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  

×