This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Globals"

Jump to navigation Jump to search
No change in size ,  17:36, 24 September 2006
m
spelling, 2nd giCionToss -> giCoinToss
imported>Big Brother
(→‎Notes:: I discovered ( via a nast bug ) that globals will always act as floats ( within scripts, at least ). I ran a seperate experiment to verify the claims made in the edit.)
imported>CptJoker
m (spelling, 2nd giCionToss -> giCoinToss)
Line 16: Line 16:
* It seems that, when used in scripts, global variables always act as floats regardless of what you declare them as.  This could cause issues in situations such as:
* It seems that, when used in scripts, global variables always act as floats regardless of what you declare them as.  This could cause issues in situations such as:


  set giCoinToss to GetRandomPercent / 50 ;giCionToss is a global short
  set giCoinToss to GetRandomPercent / 50 ;giCoinToss is a global short
   
   
  if( giCionToss == 1 )
  if( giCionToss == 1 )
Anonymous user

Navigation menu