[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
GetParentCell
Revision as of 11:31, 2 August 2006 by imported>DragoonWraith (creating)
A command for Oblivion Script Extender
Syntax:
GetParentCell
Must be called on a reference. Returns the cell containing the reference.
Example
ref lastPlayerCell ; assumed to be set some earlier iteration ref curPlayerCell set curPlayerCell to player.GetParentCell
if (curPlayerCell != lastPlayerCell) Message "Player has changed cells!" set lastPlayerCell to curPlayerCell endif
Notes
- In the commands.txt of OBSE v0004, this function was called GetPlayerCell.