In v. Out of Town Effects

Error message

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: In v. Out of Town Effects
Warrior
Member # 1250
Profile #0
Is there any way to have an effect *only* in the outdoors?
I'm talking about Dahak's "dehydration" code (edited by Kelandon). I had never wandered around long enough in my in-progress scenario (unnamed) to notice it, but the damage-factor activated while I was walking around in a town. Ideally, I want to keep this effect only on the outdoor map, not inside of towns.
So, is there a way to do this? Am I just putting it in the wrong place in my scenario script?
Posts: 93 | Registered: Saturday, June 1 2002 07:00
...b10010b...
Member # 869
Profile Homepage #1
Take advantage of the is_outdoor() call, which returns 1 if the party is outdoors and 0 otherwise.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00