Talk:SetActorsAI
Jump to navigation
Jump to search
Is there any value of using SetActorsAI vs IsActorsAIOff in combination with ToggleActorsAI, other than the obvious 2 extra lines of script?
In otherwords is
SetActorsAI 1
identical to
If IsActorsAIOff ToggleActorsAI endif
- I have no idea. Bethesda only used this function for Sheogorath's Staff (and a few other scripts designed to unfreeze certain NPCs hit by the staff at certain points in the SI quest). I assume they did this because they wanted to ensure that they were setting the AI on or off, not simply switch it, though using your code would accomplish the same thing. I don't really know beyond that.
- Dragoon Wraith TALK 14:00, 5 July 2007 (EDT)
- Thanks, I ask because using the latter could reduce a mods requirement for patch version 1.2.
- Xilver