this is my ccs code when i try to test my game it says
error:ccCreatecommand(): SET control command error!
and this is all of my ccs codes i have
function game_start() {
ccDebug(0);
ccSetBlankView(5);
ccCreateCommand(1, "MOVE: 200, 115; MOVE: 310, 118; ROOM:4,13,110; MOVE: 155, 115; MOVE: 150, 180; MOVE: 10, 188; ROOM:3, 300,180; MOVE: 250, 180; MOVE: 70, 140; GOTO:1;");
ccCreateCommand(2, "MOVE: 150, 140; MOVE: 150, 110;
SET:Global(11)=0; ROOM:16,150,190; SET:Global(10)=0; MOVE: 150, 140; MOVE: 150, 110; MOVE: 150, 140; MOVE: 150, 190; SET:Global(10)=0; WAIT:120; ROOM:14,150,110; SET:Global(11)=1; MOVE: 150, 140;");
ccAppendCommand(2, "MOVE: 150, 190; SET:Global(11)=1; MOVE: 150, 140; MOVE: 150, 190; GOTO:2;");
}
i cant see wats wrong with it it was working fine a day ago.
error:ccCreatecommand(): SET control command error!
and this is all of my ccs codes i have
function game_start() {
ccDebug(0);
ccSetBlankView(5);
ccCreateCommand(1, "MOVE: 200, 115; MOVE: 310, 118; ROOM:4,13,110; MOVE: 155, 115; MOVE: 150, 180; MOVE: 10, 188; ROOM:3, 300,180; MOVE: 250, 180; MOVE: 70, 140; GOTO:1;");
ccCreateCommand(2, "MOVE: 150, 140; MOVE: 150, 110;
SET:Global(11)=0; ROOM:16,150,190; SET:Global(10)=0; MOVE: 150, 140; MOVE: 150, 110; MOVE: 150, 140; MOVE: 150, 190; SET:Global(10)=0; WAIT:120; ROOM:14,150,110; SET:Global(11)=1; MOVE: 150, 140;");
ccAppendCommand(2, "MOVE: 150, 190; SET:Global(11)=1; MOVE: 150, 140; MOVE: 150, 190; GOTO:2;");
}
i cant see wats wrong with it it was working fine a day ago.




