I'm trying to make a spell that summon clone of myself with same armor, look and race. IMO the best way to do this is to make the NPC with any race and add a script with OnLoad event. But after many tries I can't change race of my summon creature. I think that the solution is to get somehow my ActorBase reference, but I don't know how to do this properly.
ATM I have a short script:
Event OnLoad()playerRace = game.getPlayer().GetRace()Actor selfActor = (self as ObjectReference) as Actor; Actor selfActor = (self as ObjectReference) as game.GetPlayer().GetActorBase(); selfActor = game.GetPlayer().GetActorBase(); Actor selfActor = game.getPlayer().GetActorBase()Debug.Notification("Take race from player and load the actor")EndEventEvent OnUnload()Debug.Notification("Unload the actor")EndEventThese commented lines are my tries. Unfortunately no success
I know it's possible, because I've seen player statue mod (great idea btw
)Can you help me with this or just give some hints how I can do this? I have to mention that I'm just a beginner with Papyrus...
Thanks in advance
Regards
