Author Topic: Targeting Issue  (Read 1777 times)

0 Members and 2 Guests are viewing this topic.

Offline ojbristow

  • Newbie
  • *
  • Posts: 47
  • Karma: 0
    • Superclocked
Targeting Issue
« on: January 14, 2014, 01:27:22 AM »
Hello,

I have a quick question to do with targeting and immunity.  I want, for example tttmod to only be able to target other mods and the groups below (I will allow them to ignore group_can_target on some commands). My groups/rank 'system' is below (also I have how the targeting is setup via xgui):

superadmin -- *
superduperadmin -- !%superadmin
trustedadmin --!%superduperadmin
globaladmin --!%trustedadmin
tttadmin --!%globaladmin
globalmod --!%tttadmin
tttmod --!%globalmod
trustedmember --!%tttmod
supporter --^ (PLEASE NOTE: supporter does not inherit or is inherited by any groups)
member --!%trustedmember
user --!%member

The problem at the moment is that, for example, a tttmod cannot target globalmods but can target anyone above that group.  Am i using the wrong targeting symbol? If so, what do I use instead?

Thanks,

Owen


Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Targeting Issue
« Reply #1 on: January 14, 2014, 03:17:06 AM »
Do all the groups inherit the one below as you've set it up atm? (excluding "supporter")
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline ojbristow

  • Newbie
  • *
  • Posts: 47
  • Karma: 0
    • Superclocked
Re: Targeting Issue
« Reply #2 on: January 14, 2014, 03:44:16 AM »
Yes, they do


Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Targeting Issue
« Reply #3 on: January 14, 2014, 04:07:44 AM »
I'm not really that good with inheritance/targeting, but have you tried putting "supporter" to inherit from "user", and then "member" inherit from "supporter" (you'd have to modify the targeting for those 3 groups a bit)? As I see it, ULX might think that "supporter" is the 'highest' group, and that mess up some things with targeting.

Don't take my word on that though. You seem to have used the symbols right in my eyes.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline ojbristow

  • Newbie
  • *
  • Posts: 47
  • Karma: 0
    • Superclocked
Re: Targeting Issue
« Reply #4 on: January 14, 2014, 04:15:18 AM »
Ok, thanks, I'll take a look when I get home as I'm at work now.

Owen