View Full Version : [SOLVED] Disable .res at Boss
03-20-2014, 06:52 PM
Hello, I got a question I made an World Boss and I Just got 1 question. I want to disable The Ress Command at the boss. I just dont know how , Anyone can help me please :p?
03-20-2014, 07:20 PM
What are you talking about? Ress command? Are you referring to the 'revive' command? A spell?
03-20-2014, 07:23 PM
Nope. a NPC. Some Player's (donators actually) Got some "extra" Commands. Like .res (revive the boss) And, I just dont want That the Boss Gets Revieve'd 100 times. Is there any Script to add To make it "impossible" ?
You could add a check for the entry/guid of the creature in the command script.
03-20-2014, 08:01 PM
Not sure why donators need a command like that. I'd just remove it from them since they have no real reason at all to use it.
If you don't want to do that, you can easily check if the player is targeting a boss, elite or 'IsInCombat() || GetMap()->IsInDungeon() || IsInRaid() || IsInGroup()' etc..
03-20-2014, 09:49 PM
You could specifically check the entry ID or just check if it has the boss flag.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.