- 151
- Posts
- 6
- Years
- Seen Feb 4, 2020
I wanted to make a guy which would go to the sea during the summer and in other places for others seasons but I realised the pbIsSeason function was really strange. (why is it defined like this???)
So I made this line in the conditional branch of a parallel process event
(pbGetTimeNow.mon==6 && pbGetTimeNow.day>=21) || pbGetTimeNow.mon == 7 || pbGetTimeNow.mon == 8 || (pbGetTimeNow.mon == 9 && pbGetTimeNow.day <21)
I would like to add it in the script so I can use the function pbIsSeason correctly
I guess I must adapt it like this:
if (pbGetTimeNow.mon==6 && pbGetTimeNow.day>=21) || pbGetTimeNow.mon == 7 || pbGetTimeNow.mon == 8 || (pbGetTimeNow.mon == 9 && pbGetTimeNow.day <21) end
how can I do that? I'm not sure how I should add it
So I made this line in the conditional branch of a parallel process event
(pbGetTimeNow.mon==6 && pbGetTimeNow.day>=21) || pbGetTimeNow.mon == 7 || pbGetTimeNow.mon == 8 || (pbGetTimeNow.mon == 9 && pbGetTimeNow.day <21)
I would like to add it in the script so I can use the function pbIsSeason correctly
I guess I must adapt it like this:
if (pbGetTimeNow.mon==6 && pbGetTimeNow.day>=21) || pbGetTimeNow.mon == 7 || pbGetTimeNow.mon == 8 || (pbGetTimeNow.mon == 9 && pbGetTimeNow.day <21) end
how can I do that? I'm not sure how I should add it
Last edited: