I hoped the clone would be the solution I looked for for making a backup of Player. But it seems creating a Players clone doesn't work... I tried (the indentations aren't shown here, but of course i made them):
Player.hide()
If Player.isMale()
PlayerTwin = generatePerson()
While !PlayerTwin.isMale()
PlayerTwin = generatePerson()
EndWhile
ElseIf Player.isFemale()
PlayerTwin = generatePerson()
While !PlayerTwin.isFemale()
PlayerTwin = generatePerson()
EndWhile
ElseIf Player.isTrans()
PlayerTwin = generatePerson()
While !PlayerTwin.isTrans()
PlayerTwin = generatePerson()
EndWhile
EndIf
PlayerTwin.cloneFrom(Player)
Didn't work, while same scene only with an actor instead of Player worked fine:
Player.hide()
Actor = getSpecific(Dating)
If Actor.isMale()
PlayerTwin = generatePerson()
While !PlayerTwin.isMale()
PlayerTwin = generatePerson()
EndWhile
ElseIf Actor.isFemale()
PlayerTwin = generatePerson()
While !PlayerTwin.isFemale()
PlayerTwin = generatePerson()
EndWhile
ElseIf Actor.isTrans()
PlayerTwin = generatePerson()
While !PlayerTwin.isTrans()
PlayerTwin = generatePerson()
EndWhile
EndIf
PlayerTwin.cloneFrom(Actor)
I also tried:
PlayerTwin = PlayerTwin.cloneFrom(Player) //Doesn't work. Nothing happens
PlayerTwin = generatePerson(cloneFrom(Player)) //Doesn't work. Clones the last person from my contact list but with other stats
I searched all files in Modules, but didn't find any file where 'cloneFrom(Player)' is used (only 'cloneFrom(Actor)'). So that idea seems to be a dead end
Thanks a lot again.