|
noz Beginner
Joined: 28 Nov 2004 Posts: 10
|
Posted: Mon Nov 29, 2004 6:20 pm
Waiting for balance and equilibrium.... |
I'm trying to make it so that if I get hit with something, in this case if my character gets tied up because of a web or whatever, then my system will wait until i have balance and equilibrium and will then writhe. I set it up so that whenever the line stating I got webbed appears it sets the variable WEBBED equal to YES...now, I made a trigger in my prompt to check each time, and if @balance, @equilibrium, and @webbed are all equal to YES then it would attempt to WRITHE, and if i balance or equilibrium are not yes, it will wait till it is yes, and then try to writhe. but for some reason it won't writhe, it will set webbed equal to yes, and will show when balance and equalibrium are equal to yes, but thats as far as it goes. the pattern for my prompt is:
H:%n M:%n E:%n W:%n ~<(?)(?)~(*)~>
so...i set it up so when i see the prompt it would execute
#if ((@webbed=yes) AND (@balance=yes) AND (@equilibrium=yes)) {Writhe}
that makes sense to me, but something must be wrong, any help would be appreciated. Thanks in advance |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Nov 30, 2004 2:39 am |
Case sensitivity issue probaly, "Yes" does not equal "yes"
#IF ((%lower(@webbed)="yes") AND (%lower(@balance)="yes") AND (%lower(@equilibrium)="yes")) {writhe}
Edit: line updated
Upon rereading the help file we should be able to do just this
#IF (@webbed AND @balance AND @equilibrium) {Writhe}
Also be sure this is after the part that sets those three variables |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|