Home   Help Search Login Register  

Author Topic: Player Spawn as a different type of unit  (Read 1341 times)

0 Members and 1 Guest are viewing this topic.

Offline Bama

  • Members
  • *
Player Spawn as a different type of unit
« 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,

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Player Spawn as a different type of unit
« Reply #1 on: 21 Jun 2008, 07:32:30 »
I'm guessing this is MP related so moved this here..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Rommel92

  • Members
  • *
Re: Player Spawn as a different type of unit
« Reply #2 on: 21 Jun 2008, 12:24:55 »
Not Possible if your referring to a diferent model.

Offline Bama

  • Members
  • *
Re: Player Spawn as a different type of unit
« Reply #3 on: 21 Jun 2008, 14:14:34 »
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.
« Last Edit: 21 Jun 2008, 15:02:56 by Bama »

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re: Player Spawn as a different type of unit
« Reply #4 on: 21 Jun 2008, 20:08:06 »
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

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Player Spawn as a different type of unit
« Reply #5 on: 22 Jun 2008, 00:49:07 »
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...
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Trash Can Man

  • Members
  • *
  • We are no longer the knights who say "Ni!"
Re: Player Spawn as a different type of unit
« Reply #6 on: 22 Jun 2008, 00:58:17 »
I think that is probably what he's looking for...  :dunno: