Talk:Reference

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

3D Data: The X, Y, and Z position and rotation values[edit source]

Is there a way to display this information while gameplay (within a plugin or something, how is the function id/name to display this data) ? reason: i would like to create a plugin like a gps with geographical lenghts such as "N53° xx.xxx / W41° yy.yyy / height 23m^0"

Merchant Containers[edit source]

How do these work exactly? Is only one reference selectable? If so, then why do some merchants have inventory from secondary chests available for purchase. Rohssan for example is drawing a unique item from "VendorAFightingChance" even though her merchant container reference is set to "FightingChanceRohssanChest".

Furthermore, HamlofRedTooth has no reference to a merchant container, yet has items available for purchase. It seems like his inventory is derived from the items scattered around inside his cell. These all have their Ownership reference set to HamlofRedTooth.

So is the whole Merchant Container tab a deprecated functionality, and the proper method is to just set the ownership of items/containers to the merchant's reference in order for the item/contents to show up in the purchase list? --TheHankerChief 16:51, 30 March 2006 (EST)

Late answer, LOL, but yes that seems to be the proper method AFAICT. --Dev akm 21:11, 9 October 2007 (EDT)

Factions[edit source]

This is a question of Faction inheritance of persistent refs. The scenario, mod A creates a persistent ref (let's call it, "Lassie") to a base actor (ie. "Dog"). Mod B adds several factions to the "Dog" base. If mod A & B are loaded, does "Lassie" have the new factions added to the "Dog" base? Does it depend on load order?--Xilverbulet 16:09, 15 May 2008 (EDT)

Last loaded wins in almost all cases. One possible exception is if the faction addition was done via script, in which case load order may not matter. It might also depend on whether the savegame was created before or after the user added Mod B, especially if you were talking about an NPC, since persistent references and NPC data get stored in the savegame.--dev_akm 18:00, 15 May 2008 (EDT)
After testing, it appears that load order is not important in this specific case. In this case the Base Ref is not changed by mod A only by mod B.--Xilverbulet 07:21, 16 May 2008 (EDT)