PuToUtO

Member
Sep 11, 2019
126
58
How to fix the Logical operator error?
Actor:incest > Random(75, 89)
I set incest 100, there is no chance it is not true, but it happened.
I tried changing the left side to 100 instead of Actor:incest or the right side to 99 instead of Random(75, 89) and they worked.
But this line Actor:incest > Random(75, 89) did not.

I assume this happened in other scenario too, but I only found here for now.
 
Last edited:

Icebird

Member
Sep 22, 2017
379
275
How to fix the Logical operator error?
Actor:incest > Random(75, 89)
I set incest 100, there is no chance it is not true, but it happened.
I tried changing the left side to 100 instead of Actor:incest or the right side to 99 instead of Random(75, 89) and they worked.
But this line Actor:incest > Random(75, 89) did not.

I assume this happened in other scenario too, but I only found here for now.
IMO I give it a clean variable instead of constantly change the npc stat with pulling it up and down that value through the attached script (because this is a permanent stat of that npc not a variable what isn't too good to be manipulate line by line)
The Actor:incest += x commands do not write back the stat only just at the end of the scene (sceneend cmd) or a character save (saveanddelete cmd). Meanwhile you try compare with changed value against variables. So this part ('Actor:incest > Random(75, 89)') always compare the original value of the incest stat if I'm right.

first sol:
At beginning of script (read out):
'Actorincestlevel = Actor:incest' <-in this case you should manipulate this 'Actorincestlevel' through the script instead of the stat
At end of script (write back):
'Actor:incest => Actorincestlevel'

second sol:
Random(75, 89) <- this is soo thin scope so reconsider to use it, but if you want anyway then like this:
'randomnum = Random(75, 89)' <-in this case is advised to manipulate this variable against the stat value
with use combined:
'If Actorincestlevel > randomnum' <- with this you compare two variable instead of a stat vs variable

or you can scale if you want:
Code:
If Actor.isValid()
    Actorincestlevel = Actor:incest
    If Actorincestlevel > 89
        "dosomething"
    ElseIf Actorincestlevel > 75
        "dosomething less"
    Else
        "donothing"
    EndIf
    Actor:incest => Actorincestlevel
Else
    "actor isn't valid"
EndIf
P.S: And it's recomended to running the Randoms before the operators ('If Random(75, 89) < Actorincestlevel').
 
Last edited:

tkwas

Newbie
Sep 4, 2019
70
55
How to fix the Logical operator error?
Actor:incest > Random(75, 89)
I set incest 100, there is no chance it is not true, but it happened.
I tried changing the left side to 100 instead of Actor:incest or the right side to 99 instead of Random(75, 89) and they worked.
But this line Actor:incest > Random(75, 89) did not.

I assume this happened in other scenario too, but I only found here for now.
All of the Random resulst are highly restriced by the karma, like +-50. Therefore please take this in the formulas.
 

PuToUtO

Member
Sep 11, 2019
126
58
IMO I give it a clean variable instead of constantly change the npc stat with pulling it up and down that value through the attached script (because this is a permanent stat of that npc not a variable what isn't too good to be manipulate line by line)
The Actor:incest += x commands do not write back the stat only just at the end of the scene (sceneend cmd) or a character save (saveanddelete cmd). Meanwhile you try compare with changed value against variables. So this part ('Actor:incest > Random(75, 89)') always compare the original value of the incest stat if I'm right.

first sol:
At beginning of script (read out):
'Actorincestlevel = Actor:incest' <-in this case you should manipulate this 'Actorincestlevel' through the script instead of the stat
At end of script (write back):
'Actor:incest => Actorincestlevel'

second sol:
Random(75, 89) <- this is soo thin scope so reconsider to use it, but if you want anyway then like this:
'randomnum = Random(75, 89)' <-in this case is advised to manipulate this variable against the stat value
with use combined:
'If Actorincestlevel > randomnum' <- with this you compare two variable instead of a stat vs variable

or you can scale if you want:
Code:
If Actor.isValid()
    Actorincestlevel = Actor:incest
    If Actorincestlevel > 89
        "dosomething"
    ElseIf Actorincestlevel > 75
        "dosomething less"
    Else
        "donothing"
    EndIf
    Actor:incest => Actorincestlevel
Else
    "actor isn't valid"
EndIf
P.S: And it's recomended to running the Randoms before the operators ('If Random(75, 89) < Actorincestlevel').
This scene isn't mine. It is Revenger's. My actor has 100 incest. I thought I would get the sex scene, but I didn't.
" Actor:incest > Random(75, 89) "
The line is where I found it went wrong. I tried " 100 > Random(75, 89) ", " Actor:incest > 99 ", and both of them work.
I even added a line "<Actor:incest> <Random(75, 89)>" to show the values are right during the scene. The values are right, but the conditional expression don't give me true.
I don't know what happpend.

Edit: I think it has highly association with karma as tkwas said. I remember we cauld edit karma value before, where is it?
 
Last edited:

tkwas

Newbie
Sep 4, 2019
70
55
Edit: I think it has highly association with karma as tkwas said. I remember we cauld edit karma value before, where is it?
Karma is a ... variable as same as other stats. You can theoreticly use as "Random(X,Y) - karma" to have the value between X and Y.
That was changed about the 2.20 version. so after this "improvment" all on the prievious written scenes work not as intendent.
 

tkwas

Newbie
Sep 4, 2019
70
55
How to add mother, father or more family member not only siblings?
If you adding a familly member you can change the relation to you by clicking the name of the relation in upper right corner of the screen. It will change to mother, daughter, aunt, grandma,... etc. it is not possible to add female as a father :p
 

MorriganJackdaw

New Member
Jul 27, 2023
4
3
If you adding a familly member you can change the relation to you by clicking the name of the relation in upper right corner of the screen. It will change to mother, daughter, aunt, grandma,... etc. it is not possible to add female as a father :p
Thanks bro
 

Not YrBroom

Member
Feb 9, 2023
111
127
Money seems buggy. Everything costs more than it should by an amount that varies by map. Start a new game, go to a store and buy 5 gifts. It should cost exactly $100 so I have $2900 left. But if I use the New Orleans map it charges me $150, in LA $185, in San Francisco $233. I tested US cities so currency conversion is not involved.
 
Last edited:

tkwas

Newbie
Sep 4, 2019
70
55
Money seems buggy. Everything costs more than it should by an amount that varies by map. Start a new game, go to a store and buy 5 gifts. It should cost exactly $100 so I have $2900 left. But if I use the New Orleans map it charges me $150, in LA $185, in San Francisco $233. I tested US cities so currency conversion is not involved.
Each of the cities has it own set of the values eg. how expensive it is, crime rate, etnical diverisy, etc. from this pack of values few aspects of the game will vary.
The bug can be if in two games in the same city the same article prise is not the same.
This is the representation that life cost in each of the cities in the world varies.
 

Not YrBroom

Member
Feb 9, 2023
111
127
Each of the cities has it own set of the values eg. how expensive it is, crime rate, etnical diverisy, etc. from this pack of values few aspects of the game will vary.
The bug can be if in two games in the same city the same article prise is not the same.
This is the representation that life cost in each of the cities in the world varies.
If the game showed the locally adjusted prices, that might be workable. As it is the money system is unplayable because you never know what anything will actually cost. I bet most players do what I did and just edit themselves more money whenever they need it.
 

H3dR

Newbie
Jan 27, 2022
40
12
so how does attractiveness work for the non con scenes, does it increase or decrease for high attractiveness?
 
3.30 star(s) 118 Votes