Difference between revisions of "OBSE Wish List"

1,640 bytes removed ,  12:13, 17 January 2012
m
removing my request for now
imported>8asrun6aer
imported>8asrun6aer
m (removing my request for now)
 
(2 intermediate revisions by the same user not shown)
Line 130: Line 130:
  set stringVar to anyRef.getReference
  set stringVar to anyRef.getReference
  set stringVar.anyVariable to x
  set stringVar.anyVariable to x
*'''get/add/deleteRecord''' - The idea is to work with any type of record associated with the editor paths.  Note: because these records may be added/deleted/modified only via script this way and only while the game is running, changes made using these added script functions will obviously not show up using the TESCS to view/edit mods.
** 'Get' returns a reference of a type dependent on the actual type of the record being fetched (actor, item, spell, etc).  The parameter is a string and must be the full path to this record as set in the TES CS object window path.
** 'Add' requires a reference and adds this reference record to the game (a misplaced 'spell' record accidentally placed under 'npc' could crash the game, but this is left up to the modder to know and avoid this).  The two parameters are "path" (or parentRef) and "ref" (the record/object to add).  Note: this may require adding the ability to create a brand new record object from scratch via code.  This could also work with 'copyobject' functions.
** 'Delete' removes the reference record from the game completely.  The single parameter is a path to the existing ref record.
** Examples:
    getRecord "WorldObjects/Static/Armor/BladesArmorFparttest" ; returns the BladesArmorFparttest object record.
    getRecord "Actors/Creature/Creature/ICArenaBear" ; returns the ICArenaBear actor object record.
    addRecord "Actors/Creature/Creature/myBrandNewCreature" ; adds the myBrandNewCreature actor object record to the game.
    deleteRecord "Actors/Creature/Creature/myBrandNewCreature" ; completely removes the myBrandNewCreature actor object record from the game.


==Questionable Requests==
==Questionable Requests==
Anonymous user