chevron_left chevron_right
Login Register invert_colors photo_library
Stay updated and chat with others! - Join the Discord or the IRC.
Thread Rating:
  • 0 Vote(s) - 0 Average


filter_list I Need Help With This Vector Problem
Author
Message
I Need Help With This Vector Problem #1
Recently I've been a bit burned out, and I can't seem to figure out this problem I have. It's for a game I had been working on for a side project when I'm bored. The code I'll be showing below is for an infection chance menu. It'll basically just shuffle the integers in the first vector, and then print them to the first if statement. When the integers are first printed it then pushes them into the second vector. It does this so the infection chance isn't selected until a week has passed (In game time). Which means it shouldn't push back new integers to that second vector until the boolean scavengeOpened, is equal to false.

I couldn't post the code in a code box because it destroys the formatting.

[ Redacted my code ]

Sorry if this is a little bit confusing but I couldn't find any help for this specific problem anywhere else.
(This post was last modified: 06-10-2019, 04:13 AM by Drako. Edit Reason: Fixed my problem )
[Image: tumblr_n4fsswcwZa1sbhzgao1_250.gif]

"Crack it open, throw it in a pan and let it cook." ~ Filthy Franku

Reply

RE: I Need Help With This Vector Problem #2
I need to bump this because I can't do anything until this is resolved.
[Image: tumblr_n4fsswcwZa1sbhzgao1_250.gif]

"Crack it open, throw it in a pan and let it cook." ~ Filthy Franku

Reply

RE: I Need Help With This Vector Problem #3
Sorry for the shit thread. I figured out my problem on my own, I just needed some sleep I guess.
[Image: tumblr_n4fsswcwZa1sbhzgao1_250.gif]

"Crack it open, throw it in a pan and let it cook." ~ Filthy Franku

Reply






Users browsing this thread: 1 Guest(s)