Difference between revisions of "Talk:Reference Variables"
Jump to navigation
Jump to search
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 | :All of them, of course there usually is no effect. | ||
If Getquestrunning ReferenceVariable | If Getquestrunning ReferenceVariable | ||
:Works fine for example | |||
set MyReference.variable to 1 | set MyReference.variable to 1 | ||
: | :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: |