yes shitty AV gives false positives. renpy is a program that self compiles. shitty and misconfigured AV will treat it as a virus
It wasn't the file itself, it was just visiting the link. It didn't happen when I went there the next day though so it's possible it was some ad or something attempting to run that set the AV off the first time and it's not omnipresent.
You must be registered to see the links
detailed info on variable use in renpy
Thanks. I'll check that out. I've compiled a few links on tutorials and instructions for renpy but it feels like most of it is in video form which I just don't have the patience for. I'd rather have written instructions that I can speed through or skim to find what I want than listen to someone drone on for 20 minutes in a video so I can find the 2 and a half minutes of content I actually need.
this is normal variable use. default a bool variable for your flag and set its value or check its value as needed
Yeah, I get that. My issue is that I got a crash/error message telling me that my flag didn't have a default state and because of that when it triggers at the end of the event where it's supposed to activate renpy doesn't know what it's supposed to do. Like I was supposed to specify that the default state for the flag is "false" so that when the scene reaches it and it activates it flips to "true." and then when I get to the other scene where there's an if/then/else statement it will recognize that either a) I did the previous scene, the flag activated, is true, and therefore plays the alternate event to reflect that or b) I didn't do the previous scene, the flag is still false because it hasn't happened and the scene that plays reflects that state.
This all makes total sense. What doesn't make sense and what I'm confused about with regards to how BSC has been written is that I cannot find a place anywhere in the existing code where those default states are set for any of the already present flags.
Like in vars.rpy the first two flags on lines 21 and 22 are the ones that activate when you've successfully gotten Cream out of her dress and her panties respectively. It makes sense that they are listed here, named, and described. And I know what they are for and see them in action throughout the code for almost every conversation tree in the game since they control Cream's responses to being asked to strip and sometimes serve as shorthand for how far she'll go in some sexual situations.
BUT I cannot find any place in any of the code that refers to those or any of the already-present flags in the game and is structured as:
default <flag name> = false
which is what that link you provided (and other material I've read) says is supposed to be how you tell the game what the starting, untouched state of a given flag is supposed to be.
So given that, how is it that the game recognizes that existing flags like "remove_dress" or "get_naked" are false by default but when I create a new flag like, say, shower_sex and replicate everything I've seen in the BSC code with regards to how flags are built and implemented, the game has a conniption and stars screeching "you can't do that! You have to tell me how it starts before I'll let you change what its state is!" and crashes?
jump is a statement. dont attach your target label to it, the space between jump and the label name is important because they're two separate things.
My apologies, those were just typos by me in this post. I didn't copy/paste the material out of anything I've done (in fact I'm starting fresh again with a copy of your 0.3.6 version so I haven't even re-written anything yet) I was simply typing it out and forgot the space. In writing the actual code I would be more observant about that stuff because I would see other nearby examples and know that it has to be that way.
thats the general stuff i can respond to without having access to the code at this exact moment. if you have more questions you can find me in either the official renpy discord server or in fuzzybunny's discord server
Do you have a link to the FuzzyBunny one? I've seen it talked about on here a few times but I've also seen several people provide several different links in this and the old abandoned FuzzyBunny port thread and I have no idea which one is legit.
Thanks again for the help