Jump to content
TrinityCore

[GM COMMANDS] MOBs Attacks [SOLVED]


thogrinn
 Share

Recommended Posts

Hey !!!

Just a little question :

I need a MOB for a quest, spawn it with ".npc add" ; Change its faction id ".npc set factionid" to attack him, but it's not attackable. With ".npc info", i see it's "imune to PC/NPC". Is there a way to use the ".npc set flag" command ingame to make him attackable ?

Thx !!!! :)

Edited by thogrinn
Link to comment
Share on other sites

4 hours ago, Morphau said:

You are in gm on ? If yes set you gm off

Yep, i'm on "gm on" ; But that doesn't change nothin'. For alot of mobs, the faction id is enough to fight ; But sometimes, mobs remains on player imune. I know the trigger is in the database, and i just want to know if the flag command in-game can change this state :) 

Link to comment
Share on other sites

58 minutes ago, Ascathor said:

Iirc gms get factionid 35, so you are not getting attacked (by most npcs. Bosses are an expection here). If you go out of gm mode, your faction is restored and normal faction check is done.

I'm always gm off ; Just activate gm to set the mobs. And when it's done, the mob is in red (ex : horde or another ennemy) but i can't attack or select it. (No blade icon). And it's only on few mobs, not all. Usually it's not a problem, change faction id and go fight. But sometimes, i can't attack even if the mob is an ennemy. And when it's ok, the trigger PC/NPC imune is off in database. I just want to know if i can trigger immunity directly in-game. 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
Reply to this topic...

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

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...