Jump to content
  • 0

AI Monster


Dastgir

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Here's my Script

-	script	MF	-1,{
OnWhisperGlobal:
getmapxy(.@map$,.@x,.@y,0);
monster .@map$,.@x,.@y,"AI 0",1002,1,"",0,0;
monster .@map$,.@x,.@y,"AI 1",1005,1,"",0,1;
end;
}

When I whisper to NPC "MF"

It summon the monster 1002 and 1005 but they do not attack each other.

screenrathena025.jpg

They are simply roaming around.

Tried at quiz_02,prontera,geffen,prt_fild02

If the monster is mvp, it works fine.

Edit: Mvp attack each other, but if theres normal mob, it doesn't attack.

Edited by Dastgir Pojee
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

of course it works like that

if you want them to fight on sight, have to set them into aggressive monsters

MD_AGGRESSIVE         | 0x0004 |      4

if you try with both monster ID 1001, sure works

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Any way to make it work in non-aggresive mob?

FIXED.(A source edit!)

Edited by Dastgir Pojee
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...