Talk:Checking if a Mod is affecting an Object
Concern
If more than one mod does this, it will probably still work for the overwritten mod and therefore ruin the test. Oblivion, at least, did not look up variables by name, but by index, so even if the two different mods have two different scripts with two differently named variables, if they both have a single short variable that is set to 1, then both mods will see it as set to 1. Therefore, this only works if no one else is using it, I think. This would need testing though because things may have changed between Oblivion and Fallout.
A better idea might be to use a Ref variable, and then set it to a reference specifically from your mod. It would be impossible for another mod to set the ref the same way.
DragoonWraith · talk · 16:54, 26 December 2008 (UTC)