Difference between revisions of "Checking if a Mod is affecting an Object"

m
Minor change to script comment
imported>Cipscis
(New page: Many plugins will edit Objects that originate from a Master file instead of, or as well as, creating their own new Objects. While this is a perfectly viable way of editing an item, the po...)
 
imported>Cipscis
m (Minor change to script comment)
Line 27: Line 27:
  set sDoOnce to 1
  set sDoOnce to 1
  ObjectRefID.MoveTo player
  ObjectRefID.MoveTo player
  ObjectRefID.SetScale 0 ; Effectively disables the object, without preventing the OnLoad block from running
  ObjectRefID.SetScale 0 ; Effectively disables the reference
; without preventing the OnLoad block from running
  else
  else
  if ObjectRefID.sIsAffectedPluginName == 1
  if ObjectRefID.sIsAffectedPluginName == 1
Anonymous user