Home   Help Search Login Register  

Author Topic: Help!, easy question  (Read 1552 times)

0 Members and 1 Guest are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Help!, easy question
« 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 I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Help!, easy question
« Reply #1 on: 21 Jul 2006, 17:28:42 »
Code: [Select]
if (not local _unit) then {exit}or
Code: [Select]
if (not local _unit) then {goto "blah blah"}or
Code: [Select]
if (local _unit) then {goto "blah blah"}or
Code: [Select]
if (local _unit) then {blah blah blah blah}
See this thread for a brief intro to MP issues. Check out the tutorials section too. You'll find snYper's MP mission making tute there.
« Last Edit: 21 Jul 2006, 17:33:13 by Mr.Peanut »
urp!

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Re: Help!, easy question
« Reply #2 on: 21 Jul 2006, 20:11:02 »
That goes into the Condition right? Thanks I'll do a bit of testing
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Help!, easy question
« Reply #3 on: 23 Jul 2006, 04:08:03 »
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.
urp!