fodev.net

FOnline Development => Questions and Answers => Topic started by: chenzo on November 02, 2022, 11:17:50 pm

Title: another silly question
Post by: chenzo on November 02, 2022, 11:17:50 pm
Running an event to test some changes at weekend and to place some of the high tier equipment npcs for the event. I cant however remember how to remove them after the event ends. Can someone help me out please. I know theres a way too as its one of the first things i plaid with, but it was along time ago and my old man brains deleted the information i think
Title: Re: another silly question
Post by: Medvedev(Req) on October 15, 2023, 05:43:55 pm
There is now silly questions. just silly people. We are not, are we?

You should mark all the npc as belonging to your event. I usualy use NPC_ROLE parameter for that trick, or some secret buff. After event ends - by timer or by running some script - there should be runned cleaning function, that get all of the npc and delete those, who have your mark.