Hi,
I have scripted a custom NPC.
Now i want so change the respawn time on dead of the creature.
The new Respawn time is dynamic and come from a table in the database.
I tried with
me->SetRespawnDelay(boss_respawn_time);
me->SetRespawnTime(boss_respawn_time);
It reduced the the respawn time but not correct i think.
When boss_respawn_time = 10 the npc will spawn after 15-20sec
And i have a second question.
How can i write lines to the DBErrors.log file ?
thx for the help /emoticons/default_smile.png