Jump to content
  • 0

about mob summoned by bg_monster


Question

Posted
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 ?

2 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...