Difference between revisions of "GetNumRefsInCell"
Jump to navigation
Jump to search
Added some information found in my own testing of this function.
imported>QQuix (New page) |
imported>Syscrusher (Added some information found in my own testing of this function.) |
||
Line 23: | Line 23: | ||
}} | }} | ||
}} | }} | ||
The optional cellDepth argument is used outdoors to specify the radius of adjacent cells that will be scanned by this function. | |||
This function is dynamic and indicates how many references of that type are in the cell currently, not necessarily how many were placed there in the Construction Set. This is particularly important (and useful) in counting the number of Actors (or Creatures or NPCs) in the cell. In the case of Actors, the player does not count against the total. | |||
{{OBSE Form Type Codes}} | {{OBSE Form Type Codes}} |