edit:

I think I've found a new solution, testing it now
update: seems to be working, need some tweaking because you'll see the spawned characters immediately when they die. When you reload they can fight again
update 2: I've set spawned chars invisible, and visible again on reload.

this is not the cleanest solution but for now it's good enough

Code
//////////////////////////////////////////////////////////////
EVENT fightmode
ON 
	OnInit()
ACTIONS
	CharacterSetCanFight(__Me,1)
	SetVisible(__Me,1)
	
EVENT CopyTheDead
VARS
	CHARACTERTEMPLATE:_template
	FLOAT3:_MyPosition
ON 
	OnDie(__Me,_,_,_)
ACTIONS
	IF "c1&c2"
		CharacterGetTemplate(__Me,_template)
		GetPosition(__Me,_MyPosition)
	THEN
		SpawnCharacter(%Spawn,_template,_MyPosition,0)
		SetVisible(%Spawn,0)
		CharacterSetOffStage()
		CharacterSetCanFight(%Spawn,0)
	ENDIF
//////////////////////////////////////////////////////////////

Last edited by FromHolland; 03/09/14 07:49 PM.