Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   FMB, Mission & Campaign builder Discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=203)
-   -   Trigger message to the player that triggers an event (http://forum.fulqrumpublishing.com/showthread.php?t=41067)

Sods 11-24-2013 10:04 PM

Trigger message to the player that triggers an event
 
hi all, I hope someone out there can help. I have a script that works fine off line, but when I use this method in multiplayer every aircraft in server gets this message, when I only want 1 player (the player that triggers "WP1" and/or "WP2" and so on) to receive the message.

Script...

if ("WP1".Equals(shortName) && active)

{
GamePlay.gpHUDLogCenter("Well Done! You have found Oye Plage. Now Recon the air field at Colembert");
GamePlay.gpGetTrigger(shortName).Enable = false;
}

if ("WP2".Equals(shortName) && active)
{
GamePlay.gpHUDLogCenter("Well Done! You have found Colembert. Now land your aircraft at Samer");
GamePlay.gpGetTrigger(shortName).Enable = false;
}
...End

I think you can see what I am trying to do, any help would be great!

THX in advance.

Sods!


All times are GMT. The time now is 07:47 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.