OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Mr.Peanut on 23 Dec 2004, 14:56:29
-
I want to add a missile warning system to a vehicle. Presuming I have defined an "incoming" sound class, will the following code work in an MP setting? Will the vehicle driver actually hear the sound?
vehicle AddEventHandler ["incomingmissile",{(_this Select 0) Say "Incoming"}]
-
Yes, since the eventhandler is global everyone should hear the vehicle say the sound, including the driver.