Difference between revisions of "Talk:SetFactionRank"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Halo112358
imported>Omzy
Line 9: Line 9:
---<br>
---<br>
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. --[[User:Halo112358|Halo112358]] 06:57, 2 April 2006 (EDT)
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. --[[User:Halo112358|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. --[[User:Omzy|Omzy]] 11:05, 27 June 2006 (EDT)

Revision as of 10:05, 27 June 2006

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)