Jump to content

MG01WellCollisionScript, little advice from scriptor needed


Recommended Posts

Hello Folks,

 

it disturbed my always that the magic pillars that are activated by Faralda in Winterhold emit no light.

So I altered the MG01WellCollisionScript to that:

 

Scriptname MG01WellCollisionScript extends ObjectReference


ReferenceAlias Property MG01FaraldaAlias Auto

Spell Property Magelight Auto
Light Property MagicWellLight Auto

Event OnHit(ObjectReference Aggressor, Form Source, Projectile AkProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)

if Source == Magelight
if Aggressor == MG01FaraldaAlias.GetReference() || Aggressor == Game.GetPlayer()
GetLinkedRef().SetAnimationVariableFloat("fmagicburnamount", 1)
GetLinkedRef().PlaceAtMe(MagicWellLight)
Self.Disable()
endif
endif

EndEvent

 

Problem is it works perfect on the first magicwell but it does nothing on the others!

I filled the proprtyies on every collisionmarker.

The problem could be that only the first collisionmarker is unique "MG01WellCollisionRef"

the other marker have a empty reference Editor ID!

Is there anything that can be done to get it work on the other collisionmarkers?

 

I thought this would be easy done in 10 Minutes, now I sit here for 1 Day!

Any help is appriciated!

 

Greetings, Christian

Edited by christianerding2
Link to comment
Share on other sites

  • Recently Browsing   0 members

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