I'd really like to be able to use it for NPCs, so I was wondering:
"Player" is just the Instance of the Prisoner actor for the game...so what if I made a scripted spell forcing the game to say that "Player = Another reference"??
Based on this assumption I made the following script:
Scriptname testTrasmutingPossession extends ActiveMagicEffect Event OnEffectStart(Actor akTarget, Actor akCaster)acOldPlayer = akCasteracNewPlayer = akTargetPlayer = acNewPlayerGame.ShowRaceMenu()endEventEvent OnEffectFinish(Actor akTarget, Actor akCaster)Player = acOldPlayerendEventActor Property acOldPlayer Auto Actor Property acNewPlayer Auto Actor Property Player Auto
The script is simple for me:
I am telling the game that the Reference (Player = PlayerRef) should become the targeted character and that the ShowRaceMenu should be launched thereafter.
In theory, from my point of view, if you "possess" the target by taking on his Reference, you should be able to use the ShowRaceMenu on him and then take your original traits by going back to your original reference!
What's wrong with the above script? There is any way to change the player from the PlayerRef OR to "target" the ShowRaceMenu on someone else?
Any suggestion?
Thanks,
Jashkar


