Jump to content

Recommended Posts

Posted

Hi All,

 

I am sorry if this topic has come up before and/or is in the wrong category, but due to health issues I haven't been on here for e while. While exploring Cyrodiil, I've spotted several Imperial Legion Horses dead. This got me thinking, is there a way to create a script using the Resurrect Console Command in a spell on a dead target to permanently resurrect it, instead of the spell which only resurrects a dead target for a limited period of time?

 

Thanks.

Posted

Yes Please, Oblivionaddicted. Do you possibly know if the spell requires recharging, or can it be cast an unlimited number of times?

Posted

It can be cast as many times as you want especially if you give a low cost.

 

scn BAKAResuAlleluia

begin ScriptEffectStart
PlayMagicShaderVisuals effectSummonMythicDawn 5
resurrect 1
end

begin ScriptEffectUpdate

end

begin ScriptEffectFinish

end

  • 2 months later...
Posted

I made a simialr spell a couple of weeks back and it works great as long as I target dead things like NPC's or Creatures but if I target anything else -> CTD!!!! - So do a quicksave first before using it in case... ;)

Posted

I made a simialr spell a couple of weeks back and it works great as long as I target dead things like NPC's or Creatures but if I target anything else -> CTD!!!! - So do a quicksave first before using it in case... :wink:

The spell with the script I pasted in my previous message doesn't cause any CTD when you use it on an irrelevant target.

Posted

Odd... I could delete some lines in mine or maybe you can tell me what I did wrong?:

scn PekResurrectSCR

Ref TargetREF

Begin ScriptEffectStart

	Set TargetREF to GetSelf
	
	if ( TargetREF.GetDead == 1)
		If ( TargetREF.GetIsCreature == 1 || TargetREF.IsActor == 1 )
			TargetREF.Resurrect 1
			MessageEX "%n is up and running again", TargetREF
		Endif
	Else
		Message "It's not possible to Resurrect that %n", TargetREF
	Endif
End

Begin ScriptEffectFinish
	Dispel PekResurrectSPL
End
		

I SEE IT NOW!!!!!!

 

Message instead of MessageEX... Damn... :D It is the %n that only works with OBSE functions... I think it is that line at least as it there the game CTD...

I will try to target a container or something later...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...