Difference between revisions of "Talk:GetInCell"

665 bytes added ,  20:48, 12 August 2007
no edit summary
imported>DragoonWraith
m (indenting Tibixe's name)
imported>Xilver
Line 9: Line 9:
:::I don't think it'll break anything. After all, if any other mod uses a cell named "Oblivion", it will probably be just a dummy cell as well. If you want, I think (I've tried it, but I don't remember) you could also use OBSE's [[GetParentCell]] in conjunction with [[NameIncludes]]/[[CompareName]] to see if the cell name includes "Oblivion"
:::I don't think it'll break anything. After all, if any other mod uses a cell named "Oblivion", it will probably be just a dummy cell as well. If you want, I think (I've tried it, but I don't remember) you could also use OBSE's [[GetParentCell]] in conjunction with [[NameIncludes]]/[[CompareName]] to see if the cell name includes "Oblivion"
:::--[[User:Haama|Haama]] 10:24, 12 August 2007 (EDT)
:::--[[User:Haama|Haama]] 10:24, 12 August 2007 (EDT)
:::: Thanks all. I'm going to release with my dummy cell and see if anyone complains.Here's the code to check to see if the character is in a random oblivion world if anyone is interested. 
<nowiki>if  GetInCell Oblivion || GetInWorldspace  OblivionRD001 || GetInWorldspace  OblivionRD002 || GetInWorldspace  OblivionRD003
set SpellFail to 1
Message "Cannot Cast in Oblivion."
elseif GetInWorldspace  OblivionRD004 || GetInWorldspace  OblivionRD005 || GetInWorldspace  OblivionRD006 || GetInWorldspace  OblivionRD007
set SpellFail to 1
Message "Cannot Cast in Oblivion."
        endif
</nowiki>--[[User:Xilver|Xilverbulet]] 21:48, 12 August 2007 (EDT)
Anonymous user