Difference between revisions of "Talk:UseReference"
Jump to navigation
Jump to search
imported>DragoonWraith (for variables too?) |
imported>TS7 m (Reverted edit of MazWeu, changed back to last version by DragoonWraith) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Interestingly, at least in Morrowind, object.set variable to whatever did the exact same thing as set object.variable to whatever. | Interestingly, at least in Morrowind, object.set variable to whatever did the exact same thing as set object.variable to whatever. | ||
:The "." does work for variables, but it isn't the same command as the "." for functions. Compare: | |||
:"<font color="blue">MyNPCRef</font>.<font color="green">ModDisposition</font> Player 60" -> "'''1C 00''' <font color="blue">01 00</font> <font color="green">53 10</font> 0A 00 02 00 72 02 00 6E 3C 00 00 00" | |||
:'"elseif ( <font color="blue">MageConvSystem</font>.<font color="green">lecturevar</font> == 3 )" -> "18 00 10 00 01 00 0C 00 20 <font color="blue">72 04 00</font> <font color="green">73 0F 00</font> 20 33 20 3D 3D" --[[User:Khadir|Khadir]] 14:39, 29 June 2006 (EDT) | |||
:EDIT: In fact, it's not a command at all for variables ... :) | |||
::[[User:DragoonWraith|<font face="Oblivion,Daedric" 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>]] 14:42, 29 June 2006 (EDT): I suspected there might be a difference (which is why I didn't just edit the article myself). OK then, thanks. |
Latest revision as of 17:08, 11 June 2007
Dragoon Wraith TALK 14:07, 29 June 2006 (EDT): Shouldn't it be mentioned that this also will work for variables (reference.variable)?
Interestingly, at least in Morrowind, object.set variable to whatever did the exact same thing as set object.variable to whatever.
- The "." does work for variables, but it isn't the same command as the "." for functions. Compare:
- "MyNPCRef.ModDisposition Player 60" -> "1C 00 01 00 53 10 0A 00 02 00 72 02 00 6E 3C 00 00 00"
- '"elseif ( MageConvSystem.lecturevar == 3 )" -> "18 00 10 00 01 00 0C 00 20 72 04 00 73 0F 00 20 33 20 3D 3D" --Khadir 14:39, 29 June 2006 (EDT)
- EDIT: In fact, it's not a command at all for variables ... :)
- Dragoon Wraith TALK 14:42, 29 June 2006 (EDT): I suspected there might be a difference (which is why I didn't just edit the article myself). OK then, thanks.