I am having issues working on Level 2 so I decided to build a little light weight module to test and learn.
I have a number of bare bones Game Piece Prototype Definitions:
CombatL2
Report action on “ChessSwitch”
CPiece
Report action on “ChessSwitch”
Black
Report action on “ChessSwitch”
White
Report action on “ChessSwitch”
Pawn
Non-Rectabgular
Report action on “ChessSwitch”
I have a map called Chess Board which apply’s the Key Command ChessSwitch to all units ending movement on the map.
I set up 8 black pawns on the board in the proper place via at-start stacks.
When I move a pawn, I get reports like this:
Black Pawn 5 moved to D5 *
Report from Pawn prototype - D5: Black Pawn 5 *
Report from Black Prototype - D5: Black Pawn 5 *
Black Pawn 6 moved to C5 *
Report from Pawn prototype - C5: Black Pawn 6 *
Report from Black Prototype - C5: Black Pawn 6 *
So, the pawn and the black prototypes report in but the cpiece and the combatl2 prototypes do not.
Does anyone have any ideas on how I can track this down or what I might be doing wrong?
So, I guess your Black pawns do all have the prototypes you expect a report from ?
I mean each of these pieces is made of : prototype Black, prototype Pawn, and also prototype Cpiece and combat L2 ?
If not, they would not report.
Technicaly I prefer to build a hierarchy of prototypes … as in :
Cpiece
report cpiece action …
Pawn
prototype: Cpiece
report pawn action …
Anyway, that would not tell us why your proto does not work in the first place.