Difference between revisions of "Talk:Reference Variables"

Jump to navigation Jump to search
43 bytes removed ,  12:13, 14 August 2006
no edit summary
imported>JOG
imported>JOG
Line 29: Line 29:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 11:51, 14 August 2006 (EDT): JOG, you just added this: "Uninitialized reference variables act as if they referred to the scripted object '''or quest itself'''" - what do you mean? What functions can take a quest as the calling object?
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 11:51, 14 August 2006 (EDT): JOG, you just added this: "Uninitialized reference variables act as if they referred to the scripted object '''or quest itself'''" - what do you mean? What functions can take a quest as the calling object?


:All of them, of course there usually is no useful effect.  
:All of them, of course there usually is no effect.  


  If Getquestrunning ReferenceVariable
  If Getquestrunning ReferenceVariable


Tests if the quest set in the variable is running
:Works fine for example


  set MyReference.variable to 1
  set MyReference.variable to 1


:refers to the variable in the quest until it's set.
:Can be used to set a variable in a quest.


:You can also set Reference-Variables to Base Objects and cells and use them as placeholder for the EditorIDs in the appropriate commands:  
:You can also set Reference-Variables to Base Objects and cells and use them as placeholder for the EditorIDs in the appropriate commands:  
Anonymous user

Navigation menu