Jump to content

Zahkrii Do Dovahkiin - Hidden DLC Dragonborn Sword


pmnavatar

Recommended Posts

Before I even try I might as well not even bother. I've had a long day with this and shouldve realized this as soon as i thought of it. Changing the extended script changes the functions that can be accessed, so then therefore the functions will not be recognized by the compiler. Duh

Link to comment
Share on other sites

  • Replies 340
  • Created
  • Last Reply

Top Posters In This Topic

Before I even try I might as well not even bother. I've had a long day with this and shouldve realized this as soon as i thought of it. Changing the extended script changes the functions that can be accessed, so then therefore the functions will not be recognized by the compiler. Duh

 

Agree, we've been at this all day with the Bloodskal enchant. Not that am giving up on it, just need a break from this.

 

At least the "quality of life" improvements came through though. (Bug fixes)

Edited by Karkron
Link to comment
Share on other sites

Indeed, i'll give it some time and i'm sure we'll get it to work eventually. My brain is pretty fried at this point.

 

Edit: Btw be sure to download the update again in a few minutes if you already have. I forgot to take out a little diagnostics message for when the damage boost activates.

Edited by Catman030
Link to comment
Share on other sites

Indeed, i'll give it some time and i'm sure we'll get it to work eventually. My brain is pretty fried at this point.

 

Edit: Btw be sure to download the update again in a few minutes if you already have. I forgot to take out a little diagnostics message for when the damage boost activates.

 

No problem.

Link to comment
Share on other sites

I think this will work.

Scriptname MyBloodskalbladeScript extends ObjectReference

Actor MyWielder
Spell Property DLC2BloodskalBladeSpellHoriz auto
Spell Property DLC2BloodskalBladeSpellVert auto
weapon property MyBase auto


Event OnEquipped(Actor akActor)
	if(akActor == Game.GetPlayer())
		registerForAnimationEvent(akActor, "AttackPowerStanding_FXstart")
		registerForAnimationEvent(akActor, "AttackPowerRight_FXstart")
		registerForAnimationEvent(akActor, "AttackPowerLeft_FXstart")
		registerForAnimationEvent(akActor, "AttackPowerBackward_FXstart")
		registerForAnimationEvent(akActor, "AttackPowerForward_FXstart")
	endif
endEvent

Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
	if(akNewContainer as Actor)
		utility.wait(0.1)
		if (akNewContainer as Actor).isEquipped(MyBase)
			OnEquipped(akNewContainer as Actor)
		endif
	endif
endEvent

Event OnUnequipped(Actor akActor)

	unregisterForAnimationEvent(akActor, "AttackPowerStanding_FXstart")
	unregisterForAnimationEvent(akActor, "AttackPowerRight_FXstart")
	unregisterForAnimationEvent(akActor, "AttackPowerLeft_FXstart")
	unregisterForAnimationEvent(akActor, "AttackPowerBackward_FXstart")
	unregisterForAnimationEvent(akActor, "AttackPowerForward_FXstart")
ENDEVENT

Event OnAnimationEvent(ObjectReference akSource, string EventName)

	if (eventName == "AttackPowerRight_FXstart") || \
		(eventName == "AttackPowerLeft_FXstart") || \
		(eventName == "AttackPowerBackward_FXstart")
			DLC2BloodskalBladeSpellHoriz.cast(MyWielder)

		elseif  (eventName == "AttackPowerStanding_FXstart") || \
				(eventName == "AttackPowerForward_FXstart")
			DLC2BloodskalBladeSpellVert.cast(MyWielder)
		endif
	
		
endEVENT
Link to comment
Share on other sites

Karkron, i saw your comments with that guy on steam. Just out of curiosity did he delete any of your posts?

 

Nope. Idk why he deletes yours though, kinda strange if you ask me.

Edited by Karkron
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...