Talk:UseReference

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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.