Morrowind Mod talk:GetPos

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Fix and Non-Unique Objects[edit]

Trying to create spellcasting effets through a mobile activator attached to a creature, i constated this :

When GetPos is operated from a localscript to another object, or from a global script, it only and always gives coordinates of the ID00000000 instance of the checked object, even if this one is disabled/deleted. Even if tests are starded after creating an ID0000000X instance in another cell, the returned values will always be thoses of the disabled/deleted ID00000000 wherever it had been placed in the world (tested in extériors only, and not after reloading -unintesting for use- ). But a local script will Get the exact position of its own reference number. --[Unsigned]

Integrated comments above into article. --Wrye 14:02, 12 November 2006 (EST)