OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: netta1234 on 19 Jul 2004, 17:22:56

Title: Privet Messages
Post by: netta1234 on 19 Jul 2004, 17:22:56
how do i make privet messages on ofp ?

so when we play MP every one wont see theyr money?

_msg = format ["Good Jop Being At Work Your Boss Gave You 250$ %1$.", m8_counter]
? (m8 == player) : hint _msg

dosent seem to work on MP but only on SP can some one tell me the problem? :-\
Title: Re:Privet Messages
Post by: DBR_ONIX on 19 Jul 2004, 18:27:34
I think HINT will display on all the peoples screen..
Maybe if you say "Welldone player 8, you were at work etc"
:(
- Ben
Title: Re:Privet Messages
Post by: netta1234 on 19 Jul 2004, 18:35:45
but the hint didint show anything somehow dosent work on MP
Title: Re:Privet Messages
Post by: Artak on 19 Jul 2004, 18:50:01
The above should and shall display the hint only on the machine where the m8 unit is local. If your friend Bob is playing with the m8 unit, Bob is the only one who will see the hint. If nobody is playing with m8, nobody will see the hint.

Since AI units don't need hints (doh), you can try a line like this:

?local m8: hint format ["Good Jop Being At Work Your Boss Gave You 250$ %1$.", m8_counter]

Title: Re:Privet Messages
Post by: rOk on 19 Jul 2004, 19:56:24
Read artak's post again.