Party Check

Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Party Check
Warrior
Member # 720
Profile #0
We all know you can have scripts check to see if you have a slith or a nephil in your party, but can you have it cjeck to see if you have a human in your party?

--------------------
-Daravon
Posts: 104 | Registered: Friday, March 8 2002 08:00
Warrior
Member # 1505
Profile #1
I'd guess that you could use species_in_party() with a value of 1 to see if there are any humans in the party. If that doesn't work, find what the call for getting a player's species returns for a human.

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Board Administrator
Member # 1
Profile Homepage #2
Yes. Humans are species 0.

--------------------
Official Board Admin
spidweb@spiderwebsoftware.com
Posts: 960 | Registered: Tuesday, September 18 2001 07:00