Jump to content

Do not show target bar on mob with specific vnum


Recommended Posts

Hello,

How Can I disable showing target bar on mob with specific vnum?

I have already tried this in "def Open":

			if self.GetTargetVID() == 6 or self.GetTargetVID() == 34001:
				self.Hide()	

But it is not working.. Target bar is still showing..
Could somebody help me, please?
Thanks

If I helped you, do not forget to press "Thanks" button! 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

14 minutes ago, Fleon said:

Try this:


def Open(self, vid, name):
// After the vid exists check
	if vid == 6 or vid == 34001:
		self.Hide()

But you can always help yourself with a information print in the gamechat i don't know if the argument is the actual vnum.

 

I have already tried something like that.. But thanks.

If I helped you, do not forget to press "Thanks" button! 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.