Jump to content

Home

How to destroy an object


Seth Clearwater

Recommended Posts

  • 4 months later...

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...