Random number: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (categorized)
m (stub)
Line 1: Line 1:
There is no built-in entity to generate random numbers in Valve's Source games.
{{stub}}
There is no built-in [[entity]] to generate random numbers in Valve's Source games.


''However'', you can use [[logic_case]]'s <code>PickRandom</code> input to trigger one of up to sixteen random outputs.
''However'', you can use [[logic_case]]'s <code>PickRandom</code> input to trigger one of up to sixteen random outputs.
[[Category:Technical]]
[[Category:Technical]]

Revision as of 06:31, 20 February 2011

Stub

This article or section is a stub. You can help by expanding it.

There is no built-in entity to generate random numbers in Valve's Source games.

However, you can use logic_case's PickRandom input to trigger one of up to sixteen random outputs.