Scriptname StatChanger extends Quest{Change player stats}Actor property player autoActor property dummyActor autoMessage property statChoice autoFunction changeStats() player = Game.GetPlayer() ;I'd like not to need to use this line here int choice = statChoice.Show() If choice == 0 player.SetActorValue("health", dummyActor.GetActorValue("health")) ;These lines using the dummyActor don't work cause I never assigned anything ElseIf choice == 1 player.SetActorValue("magicka", dummyActor.GetActorValue("stamina")) Else player.SetActorValue("stamina", dummyActor.GetActorValue("stamina")) EndIfEndFunctionAs for the player Actor, I tried to declare the object like this but it didn't work (also, it doesn't help with the dummyActor at all):
Actor property player = Game.GetPlayer() auto
Any advice on how to make this work is greatly appreciated.
