Difference between revisions of "Talk:SetFactionRank"
imported>Joetbd |
imported>Halo112358 |
||
Line 6: | Line 6: | ||
'''player.setfactionrank 00024164, 6''' (this one worked) | '''player.setfactionrank 00024164, 6''' (this one worked) | ||
---<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) |
Revision as of 05:57, 2 April 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)