Difference between revisions of "Questions"
Jump to navigation
Jump to search
no edit summary
imported>Teenk |
imported>XiDragon |
||
Line 314: | Line 314: | ||
[[User:Teenk|Teenk]] | [[User:Teenk|Teenk]] | ||
== How does an object finds out in which cell it is placed, using a script attached to the object? == | |||
The purpous is simple. Lets say I have a chest that should consider by itself via a script if it is placed in a player owned cell, and if so should react accordingly. | |||
After looking at all the Cell functions only one looks promising and that is [http://cs.elderscrolls.com/constwiki/index.php/IsCellOwner IsCellOwner]. However this function need the cell id as the first parameter, what means that the object script calling it would need to know in which cell the object is placed. If this can not be achieved, does any of you know another way around this? | |||
[[User:XiDragon|XiDragon]] 14:20, 29 April 2006 (GMT+1) |