Link to TES4 Construction Set Wiki: GetInCell.
A function included in the GECK version 18.104.22.168.
Returns true if the actor's current cell includes the argument as the first part of its cell name.
(0, 1:int) [Actor].GetInCell :CellID
Returns a 1 if the player is in a cell that begins with "Megaton" and 0 otherwise. So this would return a 1 if the player was in MegatonPlayerHouse, MegatonCratersideSupply, etc...
- The CellName has to be a valid interior cell name. Exterior cells will not work. In some cases, it is necessary to create a "dummy" interior cell (e.g. Megaton) in order to use GetInCell for a set of related interior and exterior cells (e.g. all the MegatonXXX cells).