Jump to content
  • 0

about mob summoned by bg_monster


QQfoolsorellina

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

prontera,155,173,5	script	test456	100,{

set .@smob1, bg_monster ( 1, "prontera", 155, 167, "poring 1", 1002, "" ) ;
set .@smob2, bg_monster ( 2, "prontera", 161, 167, "poring 2", 1002, "" ) ;
unitattack .@smob1, .@smob2 ;
unitattack .@smob2, .@smob1 ;

CLOSE;

}

How to let the  summoned mobs  attack each other outside the battleground ?

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:  

mob controller system ?

http://rathena.org/board/topic/91000-make-this-query-check-on-1000-pet-intimacy/?p=238215

just patch it, even your code above will work ... even without using mobspawn script command

yes, this source modification will make the monster able to detect other monster in battle.c

if ( md->state.killer )
	state |= BCT_ENEMY; //By default everyone hates mobs.

EDIT:

I know you are decent level scripter ... if you wanna learn mob controller script I can teach ya

Edited by AnnieRuru
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

mob controller system ?

http://rathena.org/board/topic/91000-make-this-query-check-on-1000-pet-intimacy/?p=238215

just patch it, even your code above will work ... even without using mobspawn script command

yes, this source modification will make the monster able to detect other monster in battle.c

if ( md->state.killer )
	state |= BCT_ENEMY; //By default everyone hates mobs.
EDIT:

I know you are decent level scripter ... if you wanna learn mob controller script I can teach ya

 

 

thank you, I'll try the mob controller system , There are enough examples post by you,

I just  search it  and set filter-name to yours , I think I can get the answer

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...