Difference between revisions of "Talk:GetInCell"

770 bytes added ,  14:37, 28 February 2011
imported>ZuTheSkunk
(Unclear description)
imported>DragoonWraith
 
Line 26: Line 26:


I must say I don't understand this part. Does it mean that I have to use "Chorrol" as the first word in both cell's name and its EditorID, or what? Let's say that I have a bunch of cells whose EditorIDs start with "ZUToD", including "ZUToDHalls01", "ZUToDLevel01"... will it work for all of them despite how they're called in-game? - [[User:ZuTheSkunk|ZuTheSkunk]] 04:25, 28 February 2011 (EST)
I must say I don't understand this part. Does it mean that I have to use "Chorrol" as the first word in both cell's name and its EditorID, or what? Let's say that I have a bunch of cells whose EditorIDs start with "ZUToD", including "ZUToDHalls01", "ZUToDLevel01"... will it work for all of them despite how they're called in-game? - [[User:ZuTheSkunk|ZuTheSkunk]] 04:25, 28 February 2011 (EST)
:What it means is that it will return true if the first X letters of the cell ID match the string provided. So if you use <tt>GetInCell "Chorrol"</tt>, it will return true for any cell that has "Chorrol" as the first six characters of the ID - regardless of what the other characters are. It will '''not''' return true if, for instance, a cell had the ID "StableInChorrol", because "Chorrol" only appears at the end of the name and the function will not check that.
:[[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>]] 14:37, 28 February 2011 (EST)