Should the value be at default? When I choose autofill, it fills in AtronachFlameRace. Regardless, neither option works.
Is it just not possible?
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
