I need this for a mod that I'm currently working on... it's a simple little mod, but it's a fun mod for those of you that want a lightsaber on Peragus. :xp: I've tried everything I can think of, but I don't know how to create a destroy script. x_x
depending on what you want to detroy this basic script should work
void main() {
object oMyItem = GetObjectByTag("tag name of item", 0);
DestroyObject(oMyItem, 0.0, 0, 0.0, 0);
}
Thanks ^-^ And it's a lightsaber xD
What if it was a creature?
void main()
{
ActionPauseConversation();
object oGoodbye;
oGoodbye = GetObjectByTag("tag_of_npc");
SetGlobalFadeOut(1.0, 0.5);
DelayCommand(1.0, DestroyObject(oGoodbye));
DelayCommand(1.0,SetGlobalFadeIn(0.7,0.0));
ActionResumeConversation();
}
The ActionResumeConversation should be used if you're continuing a conversation. lol