Jump to content

Recommended Posts

Posted (edited)

By my experience, this script will not run after loading game with weapon or apparel in question equipped by player... If placed as weapon or armor script.

begin GameMode
	if player.HasPerk(perkname)
		if isControlPressed(6)
			player.cios spellname1
			player.dispel spellname2
		else
			player.cios spellname2
			player.dispel spellname1
		endif
	else
		player.dispel spellname1
		player.dispel spellname2
	endif
end

Is it possible to fix it to run after re-load? Perk added and removed by OnEquip and OnUnequip blocks.

Edited by Yamatohime
Posted (edited)

I didn't find more optimal solution but... Since I use fake perk to launch this effect I just run script in quest with processing time "0.1".

I hope it won't affect my performance too much. ActorEffects has duration of 1 second.

Edited by Yamatohime
  • Recently Browsing   0 members

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