Home   Help Search Login Register  

Author Topic: camera.sqs when dead  (Read 1808 times)

0 Members and 1 Guest are viewing this topic.

AnarCHy

  • Guest
camera.sqs when dead
« on: 31 Aug 2004, 00:15:55 »
Hello people.

Just a quick question..
I am getting into MP editing and I want to know if you can exec camera.sqs when one person dies, so only the dead guy(s) have it?  Kind of like spectating.


AnarCHy  8)

DBR_ONIX

  • Guest
Re:camera.sqs when dead
« Reply #1 on: 31 Aug 2004, 17:32:02 »
What about :
this addeventhandler ["Dead",{this exec "camera.sqs")]

I see no reason why it wouldn't work..
- Ben

Offline Hawkins

  • Former Staff
  • ****
  • Team 2-2
Re:camera.sqs when dead
« Reply #2 on: 31 Aug 2004, 18:47:55 »
Quote
Snypir's MP Editing rule 7: EHs are little compatible with multiplayer games

http://www.ofpec.com/editors/resource_view.php?id=543

Though, I haven't used eventhandlers in MP. Just because Snyp's MP eidting rule. :) I can't say for sure, but many have said that they don't work. Please correct me if I'm wrong, though. :)

rOk

  • Guest
Re:camera.sqs when dead
« Reply #3 on: 31 Aug 2004, 21:05:13 »
 ???

I'm almost sure they do work...map clicks too (if you are refering to OnMapSingleClick-dunno if there's anything else)...

I use fired EH on tanks all the time...for the enhanced shock dust.
I use fired EH on infantry to give them less accurate ammo.

Oh just remembered...
I run event handlers from init lines and they're checked at the start of the game...no hassle with declaring public variables...

...but there's bound to be someone here which can explain/clarify better than me

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:camera.sqs when dead
« Reply #4 on: 01 Sep 2004, 06:07:15 »
eh's work fine in MP, use them for all sorts of things....
don't use "camera.sqs" as the name of a custom movie tho.....movie.sqs is one of those embedded scripts that you cannot see but will cause strange things to happen when called...but it is great to use for making cutscenes, there is a tute on how to do it in the ed depot....

DBR_ONIX

  • Guest
Re:camera.sqs when dead
« Reply #5 on: 01 Sep 2004, 18:55:01 »
He wants the camera.sqs file so people can fly around the map while the play continues
Would be cool if it works ;D
Wonder if it is MP compatible...
- Ben

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:camera.sqs when dead
« Reply #6 on: 02 Sep 2004, 03:23:33 »
wouldn't seagull respawn be so much less work?

DBR_ONIX

  • Guest
Re:camera.sqs when dead
« Reply #7 on: 07 Sep 2004, 17:50:55 »
Prob ::)
But camera.sqs is zoomable/trackable (Can lock the camera to other units etc)
I might try it on a squads mission one day
- Ben

olseric

  • Guest
Re:camera.sqs when dead
« Reply #8 on: 08 Sep 2004, 10:33:15 »
Look at how BAS did theirs in the MP missions where you can follow people around.

I think most of it is in the description.ext file.

AnarCHy

  • Guest
Re:camera.sqs when dead
« Reply #9 on: 08 Sep 2004, 10:49:16 »
the EH didnt work, whenever one person died everyone got camera.sqs

i need to make it excluded to those who are dead, and because I shot an officer they shot me, and it still made me "respawn" as a bird.


??
AnarCHy