OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: Bama on 21 Jun 2008, 05:27:55
-
I need a script so that when a player is killed he repawns as a different type of unit. I tried using to search but did not find what I was looking for.
Any help would be appreciated.
Thanks,
-
I'm guessing this is MP related so moved this here..
-
Not Possible if your referring to a diferent model.
-
Yes multiplayer, for instance could change from "SoldierWSniper" to "SoldierWPiloit", not just switch weapons. I had remembered on the Zombie mod for OFP when you die you would respawn as a Zombie. I've looked at it but could not find how he was changing the player.
-
yes, but if I remember correctly, the players that were killed and were re-animated didn't change model-types. they are the same model but altered to look like they have been chewed on! ;)
My friend Bama is looking to possibly expand on this I think....
TCM
-
I was under the impression that if you have respawn="group" set in the description.ext, then you can add a brand new soldier to the group in the player's died handler. He will then respawn in that new body rather than in an exact copy of the one he died in. Don't quote me on that though, since I've never tried to do it myself (and I assume it works in MP). Maybe try some searching on that...
-
I think that is probably what he's looking for... :dunno: