Jump to content
metin2dev
Ekstasia2
  • 0
Sign in to follow this  
.Rise

open Do not show target bar on mob with specific vnum

Question

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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.

 

Share this post


Link to post
Share on other sites
  • 0
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×