Outer if/and/or/not/set-flag/flag? Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Desired Features for Zillions of Games » Outer if/and/or/not/set-flag/flag? « Previous Next »

Author Message
Patrick S. Duff (Pduff)
Posted on Tuesday, October 31, 2000 - 10:31 pm:   

I wanted to begin a rules file with either
"(set-flag debug true)" or "(set-flag debug false)", then do something like:

(if (flag? debug)
(draw-condition ...)
else
(draw-condition ...)
)

Unfortunately, I quickly discovered that Zillions only understands flags and if statements inside "(drops ...)" and "(moves ...)".

Please consider making flags work at the rules file level and inside "(game ...)".
David GLAUDE (Glu)
Posted on Wednesday, November 01, 2000 - 3:23 pm:   

What about a special player,
with a name starting with a "?"
playing only the first move
and doing the initialisation you want?

I know it is only a work arround,
but it should do the trick.

David GLAUDE

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: