Page 1 of 1

gc_check_level

Posted: Sun Nov 26, 2006 2:51 pm
by Jay Four
gc_check_level

In theory, used to check if a PC is a certain level or better.

Some gotchas:

nMP doesn't check his party, it checks the whole server
If ANY of the people on the whole server are too low, it returns FALSE.

Keep it in mind!

Posted: Tue Aug 07, 2007 9:02 pm
by Gildren
anyone happen to know if gc_check_class has the same problem as well?

Posted: Tue Aug 07, 2007 10:14 pm
by Rob
Gc_check_class doesn't have a multiplayer parameter, so no it doesn't have the same problem.

Posted: Wed Aug 08, 2007 2:07 am
by blackheart
Are you sure? I think it'll just check members of the speaking character's party.

Posted: Wed Aug 08, 2007 2:34 pm
by Rob
Yes, I'm sure. Are you?

Posted: Wed Aug 08, 2007 5:41 pm
by blackheart
Nope.

What do you use as a workaround?

Posted: Wed Aug 08, 2007 7:47 pm
by Gildren
hmm.. so it checks the party members? It can't be used to check an specific individual character?

Posted: Wed Aug 08, 2007 8:21 pm
by Rob
No, gc _check_class doesn't check party members. It checks the PC speaker and the PC speaker only, which is why it doesn't have the same problem as gc_check_level.

Posted: Wed Aug 08, 2007 11:49 pm
by Gildren
Ah, thanks for clearing that up