ItsMods

Full Version: Is it possible? team change w/o death?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So that if someone picks up the intel he changes team but doesnt die.. is this possible?
Change everyone to the other team expect him Big Grin
(02-26-2011, 15:53)4FunPlayin Wrote: [ -> ]Change everyone to the other team expect him Big Grin

but then everyone else dies? xD
C++ Code
  1. GetAssignedTeam(player);
exists.
Maybe
C++ Code
  1. SetAssignedTeam(player);
does as well?
(02-26-2011, 17:39)SuperNovaAO Wrote: [ -> ]
C++ Code
  1. GetAssignedTeam(player);
exists.
Maybe
C++ Code
  1. SetAssignedTeam(player);
does as well?

its not in here: http://wiki.modsrepository.com/index.php...ce_-_Teams

so i dont think that exists Sad

edit:
isnt it possible to save the coordinates where someone dies and then respawn him at the same spot?
I know that it isn't possible in CoD4 according to the official CoD4 Mod Tool documentation ( http://openwarfaremod.com/cod4script/ ) but a lot has changed since 2007.
(02-26-2011, 18:49)SuperNovaAO Wrote: [ -> ]I know that it isn't possible in CoD4 according to the official CoD4 Mod Tool documentation ( http://openwarfaremod.com/cod4script/ ) but a lot has changed since 2007.

that sucks Sad the I have to do a FFA :/ or let people respawn when they pick it up

probably not but is it possible to make players in FFA not able to kill each other?
Search "setassignedteam" (0 hits in 0 files)


And yes it is possible.
On player spawned, just do a wait 0.05 and setOrigin.
(02-26-2011, 20:11)AZUMIKKEL Wrote: [ -> ]Search "setassignedteam" (0 hits in 0 files)


And yes it is possible.
On player spawned, just do a wait 0.05 and setOrigin.

If its possible.. can you make something like an example? Big Grin