Jump to content
Sign in to follow this  
1para{god-father}

Display Text to ALL in MP

Recommended Posts

In a MP game when I use a trigger and then effects and text it only displays on 1 persons screen not everyone’s ?

What I need to do is from a trigger is display to everyone at the same time some text how would I do that ?

Thanks

Share this post


Link to post
Share on other sites

Place the functions module on the map. Then add this to whatever you want:

[nil, nil, rTITLETEXT, "TEXT TO SHOW", "PLAIN", 0] call RE;

There you go, that will make text appear for everyone. For more info on the MP framework go here.

Share this post


Link to post
Share on other sites

Many thanks

Once I have the Function module on the map I can just use that code.

So instead of using Hint "hello"; I would use [nil, nil, rTITLETEXT, "Hello", "PLAIN", 0] call RE;

also would this work in my trigger when i complete a task ?

"1" objStatus "DONE"; tskobj_1 setTaskState "SUCCEEDED"; player setCurrentTask tskobj_2; obj_1 = true; publicVariable "obj_1";

Many thanks

Edited by psvialli

Share this post


Link to post
Share on other sites
"1" objStatus "DONE"

This is an obsolete command that does nothing. There is no need to ever use it in ArmA 2/OA.

Share this post


Link to post
Share on other sites

So instead of using Hint "hello"; I would use [nil, nil, rTITLETEXT, "Hello", "PLAIN", 0] call RE;

To use a hint would be:

[nil, nil, rHINT, "My Text Here."] call RE;

Share this post


Link to post
Share on other sites

Many thanks.

Can i ask what the first 2 parameters are for ? [nil,nil, ?

Also I did use this and it did display to all who was in the game i set the trigger to once , but i received the message about 10 times flashing very quickly on the screen , 10 players where connected so do I have to do anything else ?

Many thanks - sorry first MP game for me !

Share this post


Link to post
Share on other sites
Many thanks.

Can i ask what the first 2 parameters are for ? [nil,nil, ?

Also I did use this and it did display to all who was in the game i set the trigger to once , but i received the message about 10 times flashing very quickly on the screen , 10 players where connected so do I have to do anything else ?

Many thanks - sorry first MP game for me !

Hi,

Yes, you have to run that command in one machine only, for example the server.

if (isServer) then
{
  [nil, nil, rHINT, "My Text Here."] call RE;
};

_neo_

Share this post


Link to post
Share on other sites

Thanks, but i am a little confused.

All I need is a hint - "Alarm has been sent" when Bluefor enter my trigger - how would I display that to everyone in a MP game

when i say MP game I mean COOP with 10 players.

Can you give me an example so i know for future

Thanks

Edited by psvialli

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  

×