• 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 Exeta res?

Zisly

Intermediate OT User
Joined
Jun 9, 2008
Messages
7,338
Reaction score
120
Is there any way or function to make a npc do exeta res to make other creatures attack it?
 
try using something like areacheck around npc where all creatures isMonster are set as target and then doChallengeCreature(damnforgothowtogetnpcuid, target)

but I have no idea if monster can attack npc, but I guess monsters can use challenge

or just paste the challenge script into npc script and use doCombat

@down: well, so why the hell npcs have health?
and npc can attack so its quite strange :D(ok, its not like real attack, just script making it look like this, I know)
 
Last edited:
damnforgothowtogetnpcuid = getNpcId()

oh, and npc's can't be attacked unless you set attackable="1" in its .xml file.
 
just put challenge as monsters spell(easiest way:D)
if you want to make it in some special condition you have to get this summons uid and do the same what i posted in my first post
 
Back
Top