OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Andy on 20 Mar 2007, 16:42:16
-
In my MP Mission I have a player walk into a trigger that teleports him to a different location on the map after 5 minutes. When the trigger goes off, text appears at the bottom of the screen that says "Please wait while you are being transferred", then a hint pops up that counts down the time in 10 sec intervals until the transfer.
My problem is that the hint and text appears on all screens instead of just that one players screen. How do I make the hint and text local to that one machine?
-
If the text is visible on all machines, that means the trigger has fired on all machines, and your script is running on all machines. Add the following to your trigger condition:
(player in thisList) and ...This way the trigger will only fire on the machine of the player who stepped into it.