OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Ding on 21 Jul 2006, 12:27:20
-
Well im just getting into making MP missions, and well im a little confused over the whole local & Global command effects.
Well anyway what I was trying to do was make it so that when a player dies it blacks out and then blacks in once they have spawned, ive got all the spawning done correct. The problem I having is that it blacks out on all the players screens, how do I make it so that it only blacks out local to the Player which dies? I think its somthing to do with the publicvariable command but im unsure, thanks :)
-
if (not local _unit) then {exit}or
if (not local _unit) then {goto "blah blah"}or
if (local _unit) then {goto "blah blah"}or
if (local _unit) then {blah blah blah blah}
See this thread (http://www.ofpec.com/forum/index.php?topic=27599.0) for a brief intro to MP issues. Check out the tutorials section (http://www.ofpec.com/ed_depot/tutes.htm) too. You'll find snYper's MP mission making tute there.
-
That goes into the Condition right? Thanks I'll do a bit of testing
-
That goes into the Condition right? Thanks I'll do a bit of testing
Any luck? For more specific help, pls post what you have in your trigger fields.