Difference between revisions of "Talk:Reference Variables"

Jump to navigation Jump to search
78 bytes added ,  12:12, 14 August 2006
no edit summary
imported>JOG
m
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 is no useful effect.  
:All of them, of course there usually is no useful effect.  


  set MyReference.myvariable to 1
  If Getquestrunning ReferenceVariable


:On the other hand refers to the variable in the quest until it's set.
Tests if the quest set in the variable is running
 
set MyReference.variable to 1
 
:refers to the variable in the quest until it's set.


: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