View Single Post
  #11  
Old 07-17-2017, 01:39 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

rule_values table:
Code:
Bots:QuestableSpawnLimit
Set to true

Then the server will use the type 5 quest global "bot_spawn_limit" for each player.

To initialize this, place this in the global_player.pl (assuming you use Perl):
Code:
sub EVENT_CONNECT {
	if (not defined $qglobals{"bot_spawn_limit"}) {
		quest::setglobal("bot_spawn_limit", 0, 5, "F");
	}
}
Then they'll have to talk to an NPC, or whatever conditions you set that will make changes to the type 5 quest global "bot_spawn_limit"
Reply With Quote