tdh.math.random2choices
tdh.math.random2choices randomly outputs one of two values, providing a simple way to make a two-option random selection. The choice can be uniform or weighted toward either option.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search fortdh.liband install it. Then create an object withdeclare -lib tdh.lib -path tdh.lib. Finally, usetdh.math.random2choicesor any other object fromtdh.lib.