Difference between revisions of "GetParentCell"
m
→Example: formatting
imported>DragoonWraith (creating) |
imported>DragoonWraith m (→Example: formatting) |
||
Line 11: | Line 11: | ||
ref curPlayerCell | ref curPlayerCell | ||
set curPlayerCell to player.GetParentCell | set curPlayerCell to player.GetParentCell | ||
if (curPlayerCell != lastPlayerCell) | if (curPlayerCell != lastPlayerCell) | ||
Message "Player has changed cells!" | Message "Player has changed cells!" | ||
set lastPlayerCell to curPlayerCell | set lastPlayerCell to curPlayerCell | ||
endif | endif | ||
==Notes== | ==Notes== |