#What are the application scenarios for CScriptUniformRandomStream?"

1 messages · Page 1 of 1 (latest)

wispy wren
#

Why do we need a class like CScriptUniformRandomStream to create random functions when the moddata API already includes common random functions like RandomFloat? What are the connections and differences between the two?

fervent terrace
#

You dont need it, and in fact there are no public github repos even using it.

#

There are some things in the api that are useless or even non-functional because they are generic functions for the source engine but not used for dota 2

hollow vector
fervent terrace
#

I didnt see any when i searched.
But anyway, you can already do that with lua functions.

proven grotto
#

every random number generator is seeded 4Head