Difference between revisions of "Talk:GetRandomPercent"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>TheImperialDragon
(similar to Random100?)
 
imported>JOG
Line 1: Line 1:
Is this similar to ''Morrowind's'' Random100 function, or can it be used in the same manner? [[User:TheImperialDragon|The Imperial Dragon]] 12:58, 11 June 2006 (EDT)
Is this similar to ''Morrowind's'' Random100 function, or can it be used in the same manner? [[User:TheImperialDragon|The Imperial Dragon]] 12:58, 11 June 2006 (EDT)
----
'''Random100''' (as one word) in Morrowind was a global that was set to 0-100 once per frame (in the script "Main")
set variable to GetRandomPercent
in Oblivion is the same as
set variable to Random 100
in Morrowind and will return a new random number ranging from 0-99 whenever you call it.
--[[User:JOG|JOG]] 13:40, 11 June 2006 (EDT)

Revision as of 12:40, 11 June 2006

Is this similar to Morrowind's Random100 function, or can it be used in the same manner? The Imperial Dragon 12:58, 11 June 2006 (EDT)


Random100 (as one word) in Morrowind was a global that was set to 0-100 once per frame (in the script "Main")

set variable to GetRandomPercent 

in Oblivion is the same as

set variable to Random 100

in Morrowind and will return a new random number ranging from 0-99 whenever you call it.

--JOG 13:40, 11 June 2006 (EDT)