Editors Depot - Mission Editing and Scripting > OFP - Editing/Scripting Multiplayer

How to prevent respawn or camzoom?

(1/1)

Matthijs:
I'm currently working on an advanced medic script, in which players can be revived by a (special) medic.


The problem I encountered is that the death of a player either starts the respawn or cam zoom. Even if the damage is set to 0 using SetDammage, the respawn/zoomcam starts after the delay given in the description.ext

My "die & revive" trigger created a whole lot of clones of me, when I accidentally put it over the spawning point.
:)


In short: how do I keep a dead player from respawning or cam-zooming?

Matthijs:
Found it myself!

player cameraEffect ["terminate","back"]

Navigation

[0] Message Index

Go to full version