Difference between revisions of "Sims 2 Variables"
From SimsWiki
MogHughson (Talk | contribs) m (Variables moved to Sims 2 Variables) |
MogHughson (Talk | contribs) (→General Variable Reference) |
||
Line 16: | Line 16: | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
− | |0x00||[[My attribute]] | + | |0x00||[[Sims 2 My attribute|My attribute]] |
|- | |- | ||
|0x01||[[My attribute|Stack Object's attribute]] | |0x01||[[My attribute|Stack Object's attribute]] |
Revision as of 15:33, 17 January 2010
This section will record all the different variables and attributes you will likely come across. You will most often be using these through the Expression primitive [prim 0x0002]. These tables are your reference to go with that wizard. However you will also find these in various other OpCodes, some without wizards. In those cases, the numeric value before the title name is the number which represents that type of variable to be placed in an appropriate Operand.
Contents |
Special Variables
There are two special variables which many instructions can only operate on. You will will especially get very used to saving the previous value of the Stack Object in order to put something else in there, then putting back the original value afterwards.
My
Stack Object
General Variable Reference
Variables | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|