Talk:Rand

From the Oblivion ConstructionSet Wiki
Revision as of 22:42, 16 July 2008 by imported>Innominate
Jump to navigation Jump to search

How do I add a random number of items with this script?

Like player.additem 0000000f <rand function>

How would i do that?

Easily. Although you may not be able to use this in the console, and the example you gave looks like it was a console command, not a script.

Short randNum Set randNum To rand 0 [max] player.additem <item id> randNum