Hi Vinfamy , sorry it seems i'm really dumb, but i have 2 problems in my code that are probably the same:
------------------------------------------
WHAT: all
WHERE: home
WHEN: 17 - 07
WHO: Parent1 = getRelative(Parent); Parent2 = Parent1.getRelatedPerson(Spouses);
OTHER: isAtHome()
SceneStart()
Parent1.Show(1)
Parent2.Show(2)
Player.show()
"Hi."
SceneEnd()
-----------------------------------------
1: the code won't work if i don't put the name of the variable of Parent1 as Actor.
If i change it works fine.
2: I don't know why but it wont find any Parent2.
I have read that i can use any variable name for actors, and since later i will add more conditions about them i need to have both in the who, but it seems like i have only the possibility to have one variable named Actor.
In that case if i add the line Parent2 = Parent1.getRelatedPerson(Spouses) before the second show everything works fine.
_____
Also, totally unrelated, but having an argument to the impregnate function (like Alice.Impregnate(Bob) it would be a welcomed addition.
Thank you.
------------------------------------------
WHAT: all
WHERE: home
WHEN: 17 - 07
WHO: Parent1 = getRelative(Parent); Parent2 = Parent1.getRelatedPerson(Spouses);
OTHER: isAtHome()
SceneStart()
Parent1.Show(1)
Parent2.Show(2)
Player.show()
"Hi."
SceneEnd()
-----------------------------------------
1: the code won't work if i don't put the name of the variable of Parent1 as Actor.
If i change it works fine.
2: I don't know why but it wont find any Parent2.
I have read that i can use any variable name for actors, and since later i will add more conditions about them i need to have both in the who, but it seems like i have only the possibility to have one variable named Actor.
In that case if i add the line Parent2 = Parent1.getRelatedPerson(Spouses) before the second show everything works fine.
_____
Also, totally unrelated, but having an argument to the impregnate function (like Alice.Impregnate(Bob) it would be a welcomed addition.
Thank you.
Last edited: