• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Monster that attacks a certain monster

Smiddy515

New Member
Joined
Jun 16, 2008
Messages
40
Reaction score
0
Hello, On my server (8.1 rl map) I am adding a storyline, and to make it look better i've made a monster called "defender" and I want it to attack a monster called "invader" but I have no clue whatsoever on how to make them attack eachother, I have a feeling it might be a source edit,and i'd like a tutorial if you could, if not any help would be appriciated
Thanks
Smiddy
 
use the defender npc from fans and set it to only attack creatures

i just tried that, and edited it a bit, and now im getting this error :

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Hexoria Development-Version 0.2.0 Credits to SVN/TFS/NOTS ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Hexoria Server made by dalkon ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Initializing the random numbers... [done]
:: Loading Config... [done]
:: Loading RSA key...[done]
:: Loading Bans... [done]
:: Loading Vocations... [done]
:: Loading Commands... [done]
:: Loading Items.otb... [done]
:: Loading Items.xml... [done]
:: Loading Weapons...[done]
:: Loading Spells...[done]
:: Loading Actions...[done]
:: Loading TalkActions...[done]
:: Loading Movements...[done]
:: Loading CreatureEvents ...[done]
:: Loading Monsters... [done]
:: Loading Outfits... [done]
:: Loading Remote Control... [done]
:: Loading Guilds... [done]
Warning: [OTBM loader] Moveable item in house id = 652 Item type = 2741
Warning: [OTBM loader] Moveable item in house id = 552 Item type = 2146
Warning: [OTBM loader] Moveable item in house id = 537 Item type = 1294
Warning: [OTBM loader] Moveable item in house id = 537 Item type = 1294
Warning: [OTBM loader] Moveable item in house id = 558 Item type = 2006
Warning: [OTBM loader] Moveable item in house id = 558 Item type = 2006
Warning: [OTBM loader] Moveable item in house id = 536 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 536 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 471 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 528 Item type = 3832
Warning: [OTBM loader] Moveable item in house id = 504 Item type = 3976
Warning: [OTBM loader] Moveable item in house id = 510 Item type = 2556
:: Loading PvP-arenas... [done]
:: Loading Tile zones... [done]
:: Loading Quests... [done]
:: Resolving Ip... 127.0.0.1 [done]
::
:: Running on host Smiddy-PC
:: Local IP address(es): xxxxx
:: Global IP address: 127.0.0.1
::
:: Starting Server... [done]
:: XXXXX Running...
God logged in, 1 player(s) online.
Warning: [NpcScript::NpcScript] Can not load script. data/npc/scripts/Defender
.lua
data/npc/scripts/Defender.lua:123: 'end' expected (to close 'function' at line
100) near '<eof>'




the script is here

HTML:
---------------config----------
local level = 100
local maglevel = 100  ----- change this to make the NPC to hit more or less 

local min_multiplier = 2.1  ----- Change that to make NPC got lower minimal dmg
local max_multiplier = 4.2  ----- Change that to make NPC got higher max dmg
--------- dmg formula is dmg = (level * 2 + maglevel * 3) * max/min_multiplier


local check_interval = 5  ----- change this to the time between checks for a creature (the less time the more it will probably lag :S)  
local radiusx = 7  ----- default 7 so he checks 7 squares left and right(the hole screen)  
local radiusy = 5  ----- default 5 so he checks 5 squares up and down(the hole screen)  


local Attack_message = "DIE"  ----- npc says that when he sees a monster
local town_name = "Thais"  ----- the name of the town, npc says when you say "hi"  hi dont work sometimes 
local Attack_monsters = TRUE  ----- NPC atack monsters? TRUE-yes FALSE-no 
local Attack_swearers = FALSE  ----- NPC atack swearers? TRUE-yes FALSE-no 
local Attack_pkers = FALSE  -----NPC atack guys with white or red skull?? TRUE-yes FALSE-no 
local health_left = 10  ----- set to the amount of health the npc will leave a player with if they swear at him 
local swear_message = "dont swear!"  ----- change this to what NPC says when he attacke a swearer  
local swear_words = {"shit", "fuck", "dick", "cunt"}  ----- if "Attack_swearers" is TRUE then npc will attack anyone who says a word that you will write here.  
local hit_effect = CONST_ME_MORTAREA  ----- hit effect 
local shoot_effect = CONST_ANI_SUDDENDEATH  ----- magic effect of npc atack 
local damage_colour = TEXTCOLOR_RED  ----- dmg color 




 ------------------end of config------------------ 
 local check_clock = os.clock()  ----- leave this 
 local focus = 0  ----- leave this  
 
 function msgcontains(txt, str)  
  return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))  
 end  
 
function onCreatureSay(cid, type, msg)  
msg = string.lower(msg) 
health = getCreatureHealth(cid) - health_left 
if ((string.find(msg, '(%a*)hi(%a*)'))) and getDistanceToCreature(cid) < 4 then  
selfSay('Hello ' .. creatureGetName(cid) .. '! I am a defender.')  
doNpcSetCreatureFocus(cid)  
focus = 0 
end 
 
if msgcontains(msg, 'time') then
selfSay('The time is ' .. getWorldTime() .. '.')
end
 
if messageIsInArray(swear_words, msg) then 
if Attack_swearers == TRUE then 
selfSay('' .. swear_message ..' ')  
doCreatureAddHealth(cid,-health) 
doSendMagicEffect(getThingPos(cid),17)  
doSendAnimatedText(getThingPos(cid),health,180) 
doNpcSetCreatureFocus(cid)  
focus = 0  
end 
end 
end  

function getMonstersfromArea(pos, radiusx, radiusy, stack) 
local monsters = { }  
local starting = {x = (pos.x - radiusx), y = (pos.y - radiusy), z = pos.z, stackpos = stack}  
local ending = {x = (pos.x + radiusx), y = (pos.y + radiusy), z = pos.z, stackpos = stack}  
local checking = {x = starting.x, y = starting.y, z = starting.z, stackpos = starting.stackpos}  
repeat  
creature = getThingfromPos(checking)  
if creature.itemid > 0 then  
if isCreature(creature.uid) == TRUE then 
if isPlayer(creature.uid) == FALSE then
if Attack_monsters == TRUE then							
table.insert (monsters, creature.uid)  
check_clock = os.clock() 						
end
elseif isPlayer(creature.uid) == TRUE then  
if Attack_pkers == TRUE then 
if getPlayerSkullType(creature.uid) > 0 then 
table.insert (monsters, creature.uid)  
check_clock = os.clock()      
end 
end 
end  
end  
end  
if checking.x == pos.x-1 and checking.y == pos.y then  
checking.x = checking.x+2  
else   
checking.x = checking.x+1  
end  
if checking.x > ending.x then  
checking.x = starting.x  
checking.y = checking.y+1  
end  
until checking.y > ending.y  
return monsters  
end  
 
function onThink()  
if (Attack_monsters == TRUE and Attack_pkers == TRUE) or (Attack_monsters == TRUE and Attack_pkers == FALSE) or (Attack_monsters == FALSE and Attack_pkers == TRUE) then 
if (os.clock() - check_clock) > check_interval then      
monster_table = getMonstersfromArea(getCreaturePosition(getNpcCid(  )), radiusx, radiusy, 253)  
if #monster_table >= 1 then 
selfSay('' .. Attack_message ..' ')  
for i = 1, #monster_table do  
doNpcSetCreatureFocus(monster_table[i])  
local damage_min = (level * 2 + maglevel * 3) * min_multiplier  
local damage_max = (level * 2 + maglevel * 3) * max_multiplier  
local damage_formula = math.random(damage_min,damage_max)
doSendDistanceShoot(getCreaturePosition(getNpcCid(  )), getThingPos(monster_table[i]), shoot_effect)
doSendMagicEffect(getThingPos(monster_table[i]),hit_effect)  
					doSendAnimatedText(getThingPos(monster_table[i]),damage_formula,damage_colour)  
doCreatureAddHealth(monster_table[i],-damage_formula)  
check_clock = os.clock()  
focus = 0  
end  
elseif table.getn(monster_table) < 1 then  
focus = 0  
check_clock = os.clock()  
end    
end 
end
 
i just tried that, and edited it a bit, and now im getting this error :

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Hexoria Development-Version 0.2.0 Credits to SVN/TFS/NOTS ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Hexoria Server made by dalkon ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Initializing the random numbers... [done]
:: Loading Config... [done]
:: Loading RSA key...[done]
:: Loading Bans... [done]
:: Loading Vocations... [done]
:: Loading Commands... [done]
:: Loading Items.otb... [done]
:: Loading Items.xml... [done]
:: Loading Weapons...[done]
:: Loading Spells...[done]
:: Loading Actions...[done]
:: Loading TalkActions...[done]
:: Loading Movements...[done]
:: Loading CreatureEvents ...[done]
:: Loading Monsters... [done]
:: Loading Outfits... [done]
:: Loading Remote Control... [done]
:: Loading Guilds... [done]
Warning: [OTBM loader] Moveable item in house id = 652 Item type = 2741
Warning: [OTBM loader] Moveable item in house id = 552 Item type = 2146
Warning: [OTBM loader] Moveable item in house id = 537 Item type = 1294
Warning: [OTBM loader] Moveable item in house id = 537 Item type = 1294
Warning: [OTBM loader] Moveable item in house id = 558 Item type = 2006
Warning: [OTBM loader] Moveable item in house id = 558 Item type = 2006
Warning: [OTBM loader] Moveable item in house id = 536 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 536 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 471 Item type = 2005
Warning: [OTBM loader] Moveable item in house id = 528 Item type = 3832
Warning: [OTBM loader] Moveable item in house id = 504 Item type = 3976
Warning: [OTBM loader] Moveable item in house id = 510 Item type = 2556
:: Loading PvP-arenas... [done]
:: Loading Tile zones... [done]
:: Loading Quests... [done]
:: Resolving Ip... 127.0.0.1 [done]
::
:: Running on host Smiddy-PC
:: Local IP address(es): xxxxx
:: Global IP address: 127.0.0.1
::
:: Starting Server... [done]
:: XXXXX Running...
God logged in, 1 player(s) online.
Warning: [NpcScript::NpcScript] Can not load script. data/npc/scripts/Defender
.lua
data/npc/scripts/Defender.lua:123: 'end' expected (to close 'function' at line
100) near '<eof>'




the script is here

HTML:
---------------config----------
local level = 100
local maglevel = 100  ----- change this to make the NPC to hit more or less 

local min_multiplier = 2.1  ----- Change that to make NPC got lower minimal dmg
local max_multiplier = 4.2  ----- Change that to make NPC got higher max dmg
--------- dmg formula is dmg = (level * 2 + maglevel * 3) * max/min_multiplier


local check_interval = 5  ----- change this to the time between checks for a creature (the less time the more it will probably lag :S)  
local radiusx = 7  ----- default 7 so he checks 7 squares left and right(the hole screen)  
local radiusy = 5  ----- default 5 so he checks 5 squares up and down(the hole screen)  


local Attack_message = "DIE"  ----- npc says that when he sees a monster
local town_name = "Thais"  ----- the name of the town, npc says when you say "hi"  hi dont work sometimes 
local Attack_monsters = TRUE  ----- NPC atack monsters? TRUE-yes FALSE-no 
local Attack_swearers = FALSE  ----- NPC atack swearers? TRUE-yes FALSE-no 
local Attack_pkers = FALSE  -----NPC atack guys with white or red skull?? TRUE-yes FALSE-no 
local health_left = 10  ----- set to the amount of health the npc will leave a player with if they swear at him 
local swear_message = "dont swear!"  ----- change this to what NPC says when he attacke a swearer  
local swear_words = {"shit", "fuck", "dick", "cunt"}  ----- if "Attack_swearers" is TRUE then npc will attack anyone who says a word that you will write here.  
local hit_effect = CONST_ME_MORTAREA  ----- hit effect 
local shoot_effect = CONST_ANI_SUDDENDEATH  ----- magic effect of npc atack 
local damage_colour = TEXTCOLOR_RED  ----- dmg color 




 ------------------end of config------------------ 
 local check_clock = os.clock()  ----- leave this 
 local focus = 0  ----- leave this  
 
 function msgcontains(txt, str)  
  return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))  
 end  
 
function onCreatureSay(cid, type, msg)  
msg = string.lower(msg) 
health = getCreatureHealth(cid) - health_left 
if ((string.find(msg, '(%a*)hi(%a*)'))) and getDistanceToCreature(cid) < 4 then  
selfSay('Hello ' .. creatureGetName(cid) .. '! I am a defender.')  
doNpcSetCreatureFocus(cid)  
focus = 0 
end 
 
if msgcontains(msg, 'time') then
selfSay('The time is ' .. getWorldTime() .. '.')
end
 
if messageIsInArray(swear_words, msg) then 
if Attack_swearers == TRUE then 
selfSay('' .. swear_message ..' ')  
doCreatureAddHealth(cid,-health) 
doSendMagicEffect(getThingPos(cid),17)  
doSendAnimatedText(getThingPos(cid),health,180) 
doNpcSetCreatureFocus(cid)  
focus = 0  
end 
end 
end  

function getMonstersfromArea(pos, radiusx, radiusy, stack) 
local monsters = { }  
local starting = {x = (pos.x - radiusx), y = (pos.y - radiusy), z = pos.z, stackpos = stack}  
local ending = {x = (pos.x + radiusx), y = (pos.y + radiusy), z = pos.z, stackpos = stack}  
local checking = {x = starting.x, y = starting.y, z = starting.z, stackpos = starting.stackpos}  
repeat  
creature = getThingfromPos(checking)  
if creature.itemid > 0 then  
if isCreature(creature.uid) == TRUE then 
if isPlayer(creature.uid) == FALSE then
if Attack_monsters == TRUE then							
table.insert (monsters, creature.uid)  
check_clock = os.clock() 						
end
elseif isPlayer(creature.uid) == TRUE then  
if Attack_pkers == TRUE then 
if getPlayerSkullType(creature.uid) > 0 then 
table.insert (monsters, creature.uid)  
check_clock = os.clock()      
end 
end 
end  
end  
end  
if checking.x == pos.x-1 and checking.y == pos.y then  
checking.x = checking.x+2  
else   
checking.x = checking.x+1  
end  
if checking.x > ending.x then  
checking.x = starting.x  
checking.y = checking.y+1  
end  
until checking.y > ending.y  
return monsters  
end  
 
function onThink()  
if (Attack_monsters == TRUE and Attack_pkers == TRUE) or (Attack_monsters == TRUE and Attack_pkers == FALSE) or (Attack_monsters == FALSE and Attack_pkers == TRUE) then 
if (os.clock() - check_clock) > check_interval then      
monster_table = getMonstersfromArea(getCreaturePosition(getNpcCid(  )), radiusx, radiusy, 253)  
if #monster_table >= 1 then 
selfSay('' .. Attack_message ..' ')  
for i = 1, #monster_table do  
doNpcSetCreatureFocus(monster_table[i])  
local damage_min = (level * 2 + maglevel * 3) * min_multiplier  
local damage_max = (level * 2 + maglevel * 3) * max_multiplier  
local damage_formula = math.random(damage_min,damage_max)
doSendDistanceShoot(getCreaturePosition(getNpcCid(  )), getThingPos(monster_table[i]), shoot_effect)
doSendMagicEffect(getThingPos(monster_table[i]),hit_effect)  
					doSendAnimatedText(getThingPos(monster_table[i]),damage_formula,damage_colour)  
doCreatureAddHealth(monster_table[i],-damage_formula)  
check_clock = os.clock()  
focus = 0  
end  
elseif table.getn(monster_table) < 1 then  
focus = 0  
check_clock = os.clock()  
end    
end 
end

copy the code again b/c i used it on TFS for a little while and it work maybe u just missed or deleted something by mistake
 
alright i fixed it, now i just need to figure how to make it only attack a monster called 'invader' and stop attacking eachother
 
also i'd prefer if it didnt use yellow text in default, rather just like monster text in orange please because offscreen for about 3 sqm you can see them saying it

heres the working script btw

HTML:
-------By Far Carder------ 
 -----------------start of config-----------------------------------------------------------------------What the formula looks like---------------
 local level = 100  ----- change this to make the npc hit more/less---------------------|damage_min = (level * 2 + maglevel * 3) * min_multiplier |
 local maglevel = 100  ----- change this to make the npc hit more/less -----------------|damage_max = (level * 2 + maglevel * 3) * max_multiplier |
 local min_multiplier = 2.1  ----- change this to make the npc hit more/less ----------|damage_formula = math.random(damage_min,damage_max)      |
 local max_multiplier = 4.2  ----- change this to make the npc hit more/less ---------------------------------------------------------------------
 local check_interval = 5  ----- change this to the time between checks for a creature (the less time the more it will probably lag :S)  
 local radiusx = 7  ----- change this to the amount of squares left/right the NPC checks (default 7 so he checks 7 squares left of him and 7 squares right (the hole screen)  
 local radiusy = 5  ----- change this to the amount of squares left/right the NPC checks (default 5 so he checks 5 squares up of him and 5 squares down (the hole screen)  
 local Attack_message = "DIE!"  ----- change this to what the NPC says when he sees a monster(s)  
 local town_name = "Thais"  ----- the name of the town the NPC says when you say "hi" 
 local Attack_monsters = TRUE  ----- set to TRUE for the npc to attack monsters in his area or FALSE if he doesnt 
 local Attack_swearers = FALSE  ----- set to TRUE for the npc to attack players that swear near him or FALSE if he doesnt 
 local Attack_pkers = FALSE  ----- set to TRUE for the npc to attack players with white and red skulls or FALSE if he doesnt 
 local health_left = 10  ----- set to the amount of health the npc will leave a player with if they swear at him (ie at 10 he will hit the player to 10 health left) 
 local swear_message = "Take this!!!"  ----- change this to what you want the NPC to say when he attackes a swearer 
 local swear_words = {"shit", "fuck", "dick", "cunt"}  ----- if "Attack_swearers" is set to TRUE then the NPC will attack anyone who says a word in here. Remember to put "" around each word and seperate each word with a comma (,) 
 local hit_effect = CONST_ME_MORTAREA  ----- set this to the magic effect the creature will be hit with, see global.lua for more effects
 local shoot_effect = CONST_ANI_SUDDENDEATH  ----- set this to the magic effect that will be shot at the creature, see global.lua for more effects
 local damage_colour = TEXTCOLOR_RED  ----- set this to the colour of the text that shows the damage when the creature gets hit
 ------------------end of config------------------ 
 local check_clock = os.clock()  ----- leave this 
 local focus = 0  ----- leave this  
 
 function msgcontains(txt, str)  
  return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))  
 end  
 
 function onCreatureSay(cid, type, msg)  
 msg = string.lower(msg) 
 health = getCreatureHealth(cid) - health_left 
	if ((string.find(msg, '(%a*)hi(%a*)'))) and getDistanceToCreature(cid) < 4 then  
		selfSay('Hello ' .. creatureGetName(cid) .. '! I am a defender of '..town_name..'.')  
		doNpcSetCreatureFocus(cid)  
		focus = 0 
	end 
 
	if msgcontains(msg, 'time') then
		selfSay('The time is ' .. getWorldTime() .. '.')
	end
 
	if messageIsInArray(swear_words, msg) then 
		if Attack_swearers == TRUE then 
			selfSay('' .. swear_message ..' ')  
			doCreatureAddHealth(cid,-health) 
			doSendMagicEffect(getThingPos(cid),17)  
			doSendAnimatedText(getThingPos(cid),health,180) 
			doNpcSetCreatureFocus(cid)  
			focus = 0  
		end 
	end 
 end  
 
 function getMonstersfromArea(pos, radiusx, radiusy, stack) 
 local monsters = { }  
 local starting = {x = (pos.x - radiusx), y = (pos.y - radiusy), z = pos.z, stackpos = stack}  
 local ending = {x = (pos.x + radiusx), y = (pos.y + radiusy), z = pos.z, stackpos = stack}  
 local checking = {x = starting.x, y = starting.y, z = starting.z, stackpos = starting.stackpos}  
	repeat  
		creature = getThingfromPos(checking)  
			if creature.itemid > 0 then  
				if isCreature(creature.uid) == TRUE then 
					if isPlayer(creature.uid) == FALSE then
						if Attack_monsters == TRUE then							
							table.insert (monsters, creature.uid)  
							check_clock = os.clock() 						
						end
					elseif isPlayer(creature.uid) == TRUE then  
						if Attack_pkers == TRUE then 
							if getPlayerSkullType(creature.uid) > 0 then 
								table.insert (monsters, creature.uid)  
								check_clock = os.clock()      
							end 
						end 
					end  
				end  
			end  
		if checking.x == pos.x-1 and checking.y == pos.y then  
			checking.x = checking.x+2  
		else   
			checking.x = checking.x+1  
		end  
		if checking.x > ending.x then  
			checking.x = starting.x  
			checking.y = checking.y+1  
		end  
	until checking.y > ending.y  
		return monsters  
 end  
 
 function onThink()  
 if (Attack_monsters == TRUE and Attack_pkers == TRUE) or (Attack_monsters == TRUE and Attack_pkers == FALSE) or (Attack_monsters == FALSE and Attack_pkers == TRUE) then 
	if (os.clock() - check_clock) > check_interval then      
		monster_table = getMonstersfromArea(getCreaturePosition(getNpcCid(  )), radiusx, radiusy, 253)  
			if #monster_table >= 1 then 
				selfSay('' .. Attack_message ..' ')  
					for i = 1, #monster_table do  
						doNpcSetCreatureFocus(monster_table[i])  
						local damage_min = (level * 2 + maglevel * 3) * min_multiplier  
						local damage_max = (level * 2 + maglevel * 3) * max_multiplier  
						local damage_formula = math.random(damage_min,damage_max)
						doSendDistanceShoot(getCreaturePosition(getNpcCid(  )), getThingPos(monster_table[i]), shoot_effect)
						doSendMagicEffect(getThingPos(monster_table[i]),hit_effect)  
						doSendAnimatedText(getThingPos(monster_table[i]),damage_formula,damage_colour)  
						doCreatureAddHealth(monster_table[i],-damage_formula)  
						check_clock = os.clock()  
						focus = 0  
					end  
			elseif table.getn(monster_table) < 1 then  
				focus = 0  
				check_clock = os.clock()  
			end    
	end 
 end 
	focus = 0 
 end
 
Last edited:
Change that:
Code:
creature = getThingfromPos(checking)  
			if creature.itemid > 0 then  
				if isCreature(creature.uid) == TRUE then 
					if isPlayer(creature.uid) == FALSE then
						if Attack_monsters == TRUE then							
							table.insert (monsters, creature.uid)  
							check_clock = os.clock() 						
						end

to:

Code:
creature = getThingfromPos(checking)  
			if creature.itemid > 0 then  
				if isCreature(creature.uid) == TRUE then 
					if isPlayer(creature.uid) == FALSE then
						if Attack_monsters == TRUE then	
							if creatureGetName(creature.uid) == "Name" or creatureGetName(creature.uid) == "Other Name" then
								table.insert (monsters, creature.uid)  
								check_clock = os.clock() 						
							end
						end
 
Didnt I already solved your question?
Code:
if creatureGetName(creature.uid) == "Name" or creatureGetName(creature.uid) == "Other Name" then

in the place name write the name of the one which it will attack, invader(?) and you can instead of
Code:
or creatureGetName(creature.uid) == "Other Name" then
write just then since you want it to attack only one. With this check it will only insert into table the invader monster.
 
Cant you just check? If its adding only monster with name Invader to the table, then how do you think? will it attack any other?
 
Cant you just check? If its adding only monster with name Invader to the table, then how do you think? will it attack any other?

cuz i thought that that was just a bit to add a specified monster in,and id have to delete something to get rid of it attacking all,plus my server is on a crappy laptop atm so takes like 20 mins to load,is there a different part to stop it attacking npcs?
 
cuz i thought that that was just a bit to add a specified monster in,and id have to delete something to get rid of it attacking all,plus my server is on a crappy laptop atm so takes like 20 mins to load,is there a different part to stop it attacking npcs?

~~~~~~~
 
Back
Top