- Dec 23, 2020
- 287
- 192
I have a couple questions about creating a scene I hope I can get some answers.
While looking at different scenes I noticed that in Vin_NTR scenes specifically "Boss_asks_cms" (for an example) there was a line that I had a question about .setActorVar and .getActorVar
"sharedfamily = Actor2.getActorVar(tag_sharedboss)"
When I looked in the files I found the .getActorVar doc and it explained or at least showed it like...
Player.setActorVar(tag_Player, 1) // Set the Tag 'Player' to the Player's character
Player.setActorVar(tag_Player, -1) // Remove the Tag 'Player' from the Player's character
Player.setActorVar(SomeVariable, 42) // Set the variable to 42
val = Player.getActorVar(SomeVariable)
"The value of SomeVariable is <val>."
Now in the example "shared family" several questions
1. Where did he get the name "sharedfamily" did he just make it up or is there a list somewhere? Is that just a reference for the game or does it serve some purpose? I believe (I don't have much faith in my programming skills) it's used for an "If" situation in scene however I'm more interested in where the phrase "sharedfamily" came from? Again is there a list or did he make it up?
2. For the "sharedboss", again, is this made up? I know that the description mentions I believe "SomeVariable" does that mean I just make up whatever I want for it?
While looking at different scenes I noticed that in Vin_NTR scenes specifically "Boss_asks_cms" (for an example) there was a line that I had a question about .setActorVar and .getActorVar
"sharedfamily = Actor2.getActorVar(tag_sharedboss)"
When I looked in the files I found the .getActorVar doc and it explained or at least showed it like...
Player.setActorVar(tag_Player, 1) // Set the Tag 'Player' to the Player's character
Player.setActorVar(tag_Player, -1) // Remove the Tag 'Player' from the Player's character
Player.setActorVar(SomeVariable, 42) // Set the variable to 42
val = Player.getActorVar(SomeVariable)
"The value of SomeVariable is <val>."
Now in the example "shared family" several questions
1. Where did he get the name "sharedfamily" did he just make it up or is there a list somewhere? Is that just a reference for the game or does it serve some purpose? I believe (I don't have much faith in my programming skills) it's used for an "If" situation in scene however I'm more interested in where the phrase "sharedfamily" came from? Again is there a list or did he make it up?
2. For the "sharedboss", again, is this made up? I know that the description mentions I believe "SomeVariable" does that mean I just make up whatever I want for it?