SetGoldValue T

Revision as of 10:04, 19 February 2018 by imported>Lubronbrons (Created page with "A command for Oblivion Script Extender '''Syntax:''' (hasTail:bool) ''reference''.HasTail ''raceOrNPC:ref'' sets the base gold value o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(hasTail:bool) reference.HasTail raceOrNPC:ref

sets the base gold value of the type.

These functions duplicate existing commands, but they attempt to prevent the changes made by those commands from being stored in the savegame. The arguments and behavior are otherwise identical to the original functions. By default, a command like SetOwnership or SetPos sets a flag telling the game that an attribute of the object (ownership, position, etc) has been changed. When the game is saved, the current value of the flagged attribute will be recorded in the savegame. The game remembers only the fact that the attribute was changed - not the value to which it was changed. The upshot is that if, for example, any script uses SetPos to change the position of an object, the object's position as saved in the savegame will be its position at the time the save is made - not necessarily the position set by any particular script command.

See AlsoEdit