In v. Out of Town Effects
Author | Topic: In v. Out of Town Effects |
---|---|
Warrior
Member # 1250
|
written Friday, February 11 2005 12:51
Profile
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
|
written Friday, February 11 2005 12:58
Profile
Homepage
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 |