1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Thread Tools Display Modes
Old 11-24-2013, 11:04 PM
Sods Sods is offline
Approved Member
Join Date: Jan 2013
Posts: 2
Default 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.


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;

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

THX in advance.

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:09 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.