Difference between revisions of "Talk:SetFactionRank"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>Shademe
m (→‎Faction Functions and References: That's put that in perspective !)
 
Line 17: Line 17:
: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.
: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.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 10:27, 30 September 2008 (EDT)
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 10:27, 30 September 2008 (EDT)
::That's a bit of work, especially when you need to use it in more of a larger scale .. Looks like I have to reset the factions now and then. -- [[User:Shademe|shademe]] 04:53, 1 October 2008 (EDT)

Latest revision as of 03:53, 1 October 2008

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[edit source]

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)
That's a bit of work, especially when you need to use it in more of a larger scale .. Looks like I have to reset the factions now and then. -- shademe 04:53, 1 October 2008 (EDT)