RadogoR Posted September 10, 2012 Posted September 10, 2012 Hi guys, Sorry for posting the second question in a new thread, but I think, it could be useful for everybody since I couldn`t find an answer anywhere o_O Could someone PLEASE tell me, what function do we use to get current cell ID (I mean, the interior cell the player is currently in)??? I'm actually surprized a lot, cause I didn`t find any appropriate function at cs.elderscrolls Wiki. Any ideas? Someone? What do I need it for: Let's imagine, the player got taken as a slave by an NPC. After that the player has to follow NPC everywhere including the NPS's house. If we do nothing about trespassing level, the NPC will shout at the player and finally send trespassing alarm. I need to change the cell ownership temporarily to avoid that. There are functions for that as SetCellIsPublic or SetCellOwnership, but all of them require Cell ID.
gregathit Posted September 11, 2012 Posted September 11, 2012 Please specify which game you are talking about. I am assuming that it is Oblivion based on you mentioning the cs wiki but that is just an assumption.
astymma Posted September 11, 2012 Posted September 11, 2012 Assuming you mean Oblivion... player.GetParentCell Requires OBSE
RadogoR Posted September 11, 2012 Author Posted September 11, 2012 player.GetParentCell... That was actually the thing! Damn, I should have guessed. Thank you, guys, that's just the thing I needed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.