Remove Npc, Then Reintroduce Them At Given Times?

Post » Tue Aug 25, 2009 8:38 pm

How would i completely remove an NPC from the game, both exteriors and interiors, in a way that he/she cannot be interacted with in any way by the player, but this will happen only at a certain time. And then at another certain time they will re-enter the world and continue their daily activities.
Any help will be greatly appreciateed.
Thanks!
User avatar
Hope Greenhaw
 
Posts: 3368
Joined: Fri Aug 17, 2007 8:44 pm

Post » Wed Aug 26, 2009 11:15 am

I guess enable and disable should work.

This should remove them after 6 am and enable them again after 12 am

If GetCurrentTime > 6
disable

If GetCurrentTime < 6
enable
User avatar
Matt Bigelow
 
Posts: 3350
Joined: Sun Sep 30, 2007 6:36 pm


Return to IV - Oblivion