Thread Tools Display Modes
03-30-09, 03:10 PM   #1
Sano
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 3
OUF - destroy a spawned unit frame?

I want to create a vehicle unit frame that spawns specifically for P3 of Malygos, but I'm unsure how to destroy it following the encounter. Is there a way to destroy a spawned unit frame? Would niling it do it, or is there some internal cleanup that needs to occur?
  Reply With Quote
03-30-09, 04:30 PM   #2
haste
Featured Artist
 
haste's Avatar
Premium Member
Featured
Join Date: Dec 2005
Posts: 1,027
You can't destroy frames, and niling them out will only remove their reference - nothing more.

What you can do however is to call :Disable() on the frame. That will make it hide and stop updating.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » OUF - destroy a spawned unit frame?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off