Party Size?

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 Size?
The Establishment
Member # 6
Profile #0
The "Any Crates?" special has been changed to a "Party Size?" special. It is still possible to check for crates in the new "Any Barrels or Crates?" node. Note that backward compatability is preserved with a -1 in the ex1a slot.

ex1a: size of party (1-6) (-1 do Any Crates?)
ex1b: special to jump to if met
ex2a: 0 - equal to, 1 - at least
ex2b: unused.

Comments?

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Shaper
Member # 73
Profile #1
Is it possible to check to see if there are Less Than a given number of party members?

Also, if there are dead characters in the party, does it include those in the count?

--------------------
My Myspace, with some of my audial and visual art
The Lyceum - The Headquarters of the Blades designing community
The Louvre - The Blades of Avernum graphics database
Alexandria - The Blades of Exile Scenario database
BoE Webring - Self explanatory
Polaris - Free porn here
Odd Todd - Fun for the unemployed (and everyone else too)
They Might Be Giants - Four websites for one of the greatest bands in existance
--------------------
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Posts: 2957 | Registered: Thursday, October 4 2001 07:00
The Establishment
Member # 6
Profile #2
Well, if you want to check less than 4, you could just put a 4 in ex1a field and a 1 in the ex2a field (at least). The false condition is therefore less than 4. In other words, the logic is available.

Dead characters, for now, are included. I could make an option to do only living and present.

[ Tuesday, June 26, 2007 14:03: Message edited by: *i ]

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00