Trouble with <valid_types>

0 views
Skip to first unread message

Rob3d

unread,
Apr 28, 2011, 1:32:46 AM4/28/11
to EveryGame
I'm trying to create a location that will accept 2 different piece
types ; "extras" "cards"

And no matter how I write it out it will only work with one of the
types or just error out. What is the proper syntax for getting this to
work?

Thanks in advance.

Eggy EveryGame

unread,
Apr 28, 2011, 2:57:21 AM4/28/11
to ever...@googlegroups.com
It should look like this (except without the extra space after the
open bracket ):

< valid_types types="wall,pawn">
< location> name < /location>
< /valid_types>

< piece_type type="pawn">
< piece> name < /piece>
< /piece_type>

-Nathaniel

Reply all
Reply to author
Forward
0 new messages