Talk:SetFactionRank

From the Oblivion ConstructionSet Wiki
Revision as of 09:27, 30 September 2008 by imported>DragoonWraith (→‎Faction Functions and References: no, use CloneForm)
Jump to navigation Jump to search

I tried using SetFactionRank ThievesGuild, 6 (this did nothing)

what actually worked was using 00024164 instead of thieves guild And I needed to use the player reference (because it did not work without it).

player.setfactionrank 00024164, 6 (this one worked)

---
Did you call this from a targeted script or an untargeted script? If you're calling from a global (unreferenced) script then you'll have to specify the actor (player in this case) explicitly - if you're calling from a referenced script running on an actor (again, in this case the player actor) you shouldn't have to call actor.SetFactionRank, you should be able to use SetFactionRank and the engine will (hopefully) assume you mean to act on the current ref. --Halo112358 06:57, 2 April 2006 (EDT)

I like the way the reference section fits in. Just gives the page that extra touch. We should do that for all the functions. --Omzy 11:05, 27 June 2006 (EDT)

Faction Functions and References

Is there a possible way to use this(or these) function(s) just on a reference ? -- shademe 09:21, 30 September 2008 (EDT)

No, and there won't be. Oblivion doesn't store separate faction data for references, all references get that information from their base. You have to use CloneForm to create a unique base, change the faction of that, and replace the reference with a reference to your cloned base.
Dragoon Wraith TALK 10:27, 30 September 2008 (EDT)