Jump to content
  • 0

monster that can't be attacked by players


Kurofly

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Hello everyone.

 

I'm looking for a way of spawning an ally monster which can't be attacked by players, a bit like a pet or a mercenary but something that's not attached to anyone.

 

To give a bit of details I'd like to create some areas where monsters are fighting against soldiers of a city for example. I can already do it with the ai states but since the soldiers are supposed to be your friends I'd like people not to be able to hurt them (because it's bad to hurt your friends, I guess?)

 

Is there any way to do this?

 

PS: I've been wandering the script commands in order to find some pet or mercenary related commands able to run without a player attached but found nothing, then I played a bit with the ai states and then the special ai states but still nothing, so here I am ^^

 

Thanks in advance.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   11
  • Joined:  12/06/11
  • Last Seen:  

I'm afraid the link is the dead, however the last time i check this mod it was paid and its worth $10.

This guy is been inactive for 3 years already.

Link: https://rathena.org/board/topic/76032-monsterally-command/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   15
  • Joined:  01/18/16
  • Last Seen:  

https://rathena.org/board/topic/99375-not-attack-mobs/

 

this makes people not able to attack monsters, but i don't know if it's what you want, since doing this, the mobs, or the soldiers won't attack anything, just walk.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

I'm afraid the link is the dead, however the last time i check this mod it was paid and its worth $10.

This guy is been inactive for 3 years already.

Link: https://rathena.org/board/topic/76032-monsterally-command/

 

Yeah I saw that topic but I can't find it anywhere else that's a shame..

Also we never see his mob taking damage in the video and that makes me wonder about wether he's just immune from attacks.

 

But yeah that's what I'm looking for ^^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   1
  • Joined:  11/18/13
  • Last Seen:  

I made one thing like that with the Lilith Faction System.

 

Example of what you can do with this system:

 

-> players of faction A can't attack monsters faction A.

-> monsters of faction A can attack monsters faction B.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Ohh there we have something!

 

So as long as one player is connected I can attach those mobs to his/her faction and so I can make mobs that can't be attacked by players.

 

I just have a few questions then:

  • Does the monsters spawned in factions attack normal monsters (not only those of opposite faction)?
  • Is activating the faction vs faction system (with the 'fvfon' command) necessary to spawn monsters? If yes, does it display something on screen or can it be dicreet?

Thanks for letting me know, that might be a really good way for me to do this!

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

What about

setunitdata <GID>,UMOB_DMGIMMUNE,1;
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

I tried it already but it also makes the monster immune from other monsters attacks (which is the same as making it invisible to others mobs actually).

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