EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Persistent npc after spawn_condition(...) (https://www.eqemulator.org/forums/showthread.php?t=41307)

emho24 04-28-2017 09:55 PM

Persistent npc after spawn_condition(...)
 
I've setup an npc that I want to be able to spawn in a few different zones based on a random # check. I've successfully used the quest::spawn_condition() function to spawn/despawn him at will but only if my character is in the zone while I issue the command. Also I've noticed that if my logged in character leaves the zone, my recently spawned character is no longer up when I come back.

- is there a way to get this npc to persist regardless of whether or not a character is in the zone?
- i've not had success issuing the quest::spawn_condition command to spawn the mob if no charactedr is in the zone at the time. Is this a limitation?

emho24 04-28-2017 11:38 PM

Nevermind, i still had some test script in the zone_controller that was despawning this mob. I would delete this thread if I could.


All times are GMT -4. The time now is 02:53 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.