Difference between revisions of "UseReference"

No change in size ,  14:54, 29 June 2006
m
→‎Notes: Wrong markings ... the variable numbers are shorts, in fact
imported>Khadir
(Trying to clear up the variable issue)
imported>Khadir
m (→‎Notes: Wrong markings ... the variable numbers are shorts, in fact)
 
Line 9: Line 9:
:As strange as it may seem in comparison to other commands: In the compiled script this is a real command, using the opcode <tt>0x001C</tt>.
:As strange as it may seem in comparison to other commands: In the compiled script this is a real command, using the opcode <tt>0x001C</tt>.


: Expressions (for example, ''QuestID''.''QuestVariable'') don't use this command. Internally, such an expression is just a compound of (''ObjectID'')(''Variablenumber''). For example, the line "MageConvSystem.lecturevar" from the <tt>ArcaneUScholarScript</tt> script translates to the hexcode "72 '''04''' 00 73 '''0F''' 00" ("MageConvSystem" being the '''fourth''' reference used in the script, and "lecturevar" being declared as the '''15th''' variable of its script).
: Expressions (for example, ''QuestID''.''QuestVariable'') don't use this command. Internally, such an expression is just a compound of (''ObjectID'')(''Variablenumber''). For example, the line "MageConvSystem.lecturevar" from the <tt>ArcaneUScholarScript</tt> script translates to the hexcode "72 '''04 00''' 73 '''0F 00'''" ("MageConvSystem" being the '''fourth''' reference used in the script, and "lecturevar" being declared as the '''15th''' variable of its script).


[[Category:Commands|.]]
[[Category:Commands|.]]
Anonymous user