Originally Posted by zork
Using the statedriver and calling :Show() in dostuff seems to be unsecure aswell. Or is it allowed to call :Show() / :Hide() inside of the statedriver functions that you define manually?
|
SetParent is in the same category of protected functions as Show, Hide, SetPoint, SetWidth, SetHeight, etc. -- you cannot call any of them insecurely in combat. At any time, if you can use SetParent, you can also use Show or Hide. If you can't use Show or Hide at a particular time, you can't use SetParent either.