OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Mr.Peanut on 09 Jun 2005, 17:17:56

Title: Trigger for one == Trigger for all ?
Post by: Mr.Peanut on 09 Jun 2005, 17:17:56
If a trigger is activated on one client, or just the dedicated server, it is automatically activated on all machines? I think the answer is yes but I'm not 100%.

I've used a boolean variable to activate a trigger from an  eventhandler, so that the event is detected on all machines.  Do I need to publicVariable the boolean variable, or will it not matter because a trigger activated on one machine, be it client or server, will be automatically activated on all machines, be they clients or server?
Title: Re:Trigger for one == Trigger for all ?
Post by: Terox on 10 Jun 2005, 14:02:50
the trigger is local everywhere, so you dont need to pv a boolean to initiate the trigger on every machine