And here a video example of my mod: http://www.youtube.com/watch?v=VWgcOX90O0o
I want to add a special effect when she changes form. Now the change is instant, I want to add a transition, like ExplosionIllusionDark01, for example. What's the best way to do this?
I'm not very good at scripting! So if someone could post an example because I still have a problem understanding some scripting Papyrus terms.
Here is my script:
Spoiler
Scriptname FlameOn extends Actor
Race Property AtronachFlameRace Auto
Race ActorRace
Event OnInit()
ActorRace = GetRace()
EndEvent
Auto State Waiting
Event OnCombatStateChanged(Actor actorRef, int combatState)
GoToState("Busy")
RegisterForSingleUpdate(1)
EndEvent
EndState
State Busy
Event OnUpdate()
if (IsInCombat() && GetRace() == ActorRace)
SetRace(AtronachFlameRace)
elseif (!IsInCombat() && GetRace() == AtronachFlameRace)
SetRace(ActorRace)
else
GoToState("Waiting")
Return
endif
RegisterForSingleUpdate(1)
EndEvent
EndState
Scriptname FlameOn extends Actor
Race Property AtronachFlameRace Auto
Race ActorRace
Event OnInit()
ActorRace = GetRace()
EndEvent
Auto State Waiting
Event OnCombatStateChanged(Actor actorRef, int combatState)
GoToState("Busy")
RegisterForSingleUpdate(1)
EndEvent
EndState
State Busy
Event OnUpdate()
if (IsInCombat() && GetRace() == ActorRace)
SetRace(AtronachFlameRace)
elseif (!IsInCombat() && GetRace() == AtronachFlameRace)
SetRace(ActorRace)
else
GoToState("Waiting")
Return
endif
RegisterForSingleUpdate(1)
EndEvent
EndState