Jump to content
Sign in to follow this  
witchking

Is it possible to only display a hint for a specific player?

Recommended Posts

Hi,

I was wondering whether it is possible to have a "hint" displayed for a specific player only, as I'm trying to create a multiplayer mission where each player has their own set of objectives.

Thanks for any help.

Share this post


Link to post
Share on other sites
Hi,

I was wondering whether it is possible to have a "hint" displayed for a specific player only, as I'm trying to create a multiplayer mission where each player has their own set of objectives.

Thanks for any help.

How are you triggering this from a trigger or a script or what?

Basically you can do an

If (name player == Bob){

hint format["You suck %1", name player]; };

if his name is Bob, it will tell him he sucks :)

I think that will work but it might help if you gave more information in your posts bud, my crystal ball is broken and for the best solution specifics help ;)

Share this post


Link to post
Share on other sites
How are you triggering this from a trigger or a script or what?

Basically you can do an

if his name is Bob, it will tell him he sucks :)

I think that will work but it might help if you gave more information in your posts bud, my crystal ball is broken and for the best solution specifics help ;)

I also have been wondering how can I do this.

I need that special message is sent to the player who is playing as certain unit (Lets say, unit which name is helicopter_pilot), and no one else.

What do I put into a SQS script?

([helicopter_pilot] exec "asdasd.sqs";)

_unit = _this select 0;

?(unit == _unit): hint "You shouldn't be flying, because you are drunk!";

Can't test MP-scripting often, because I only have one computer what is capable to launch ArmA 2, and I don't want to beg my friends to come and test it every day. ;)

Share this post


Link to post
Share on other sites

I'm using a trigger to activate the hints, so if for example player1 destroys a tank, the hint "Tank Destroyed" will only be displayed for him.

Thanks for the help, will try your suggestion out now.

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  

×