Difference between revisions of "Talk:UseReference"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Khadir
imported>Khadir
Line 6: Line 6:
:"<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"
:"<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)
:'"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 ... :)

Revision as of 13:41, 29 June 2006

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 ... :)