Difference between revisions of "User talk:XiDragon"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>YtoX5o
m
imported>Entim
(revert)
Line 3: Line 3:
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?
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)
[[User:XiDragon|XiDragon]] 14:20, 29 April 2006 (GMT+1)

Revision as of 15:53, 11 April 2007

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 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?

XiDragon 14:20, 29 April 2006 (GMT+1)