JosephRussell Posted April 8, 2018 Share Posted April 8, 2018 Hi everyone!Quick question. GetRandomPercent returns an integer between 0 and 99, so using GetRandomPercent==0 as a condition check on a line of dialogue gives a 1% chance of the line being said. If I want to go to lower probabilities than this, can I simply add another instance of GetRandomPercent==0 to the condition stack? So would having GetRandomPercent==0 AND GetRandomPercent==0 as my two dialogue conditions mean my line is only said 0.01% of the time?Thanks!Joe Link to comment Share on other sites More sharing options...
JosephRussell Posted April 9, 2018 Author Share Posted April 9, 2018 Actually, I've now answered my own question. Tested this in game and can confirm that the two GetRandomPercent rolls are independent, and therefore do stack. Link to comment Share on other sites More sharing options...
Recommended Posts