Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mport2004

#41
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. ??? ??? ??? ??? ???
#42
lol i had trouble w/ that book too

make sure to click on EVERY book in the library.
#43
General Discussion / Re: plugins
Fri 18/02/2005 01:54:07
thx i never thought of looking there
#44
General Discussion / plugins
Fri 18/02/2005 01:47:59
i cant seem to findwhere the plugin downloads are i found them before and i was wondering where to get them. ???
#45
thx
#46
how do you post your games on this site? ???
#47
k It worked thanks.
#48
k ill try it thx.
#49
I'm making a small shooter game and i cant find a command that will make a character wait before doing another command and still let the other characters move.
:(
#50
ccCreateCommand(2, "MOVE: 220, 145; MOVE: 90, 145; GOTO:2;");
ccExecuteCommand(RIVERGARD, 2);


(MANB is RIVERGARD)
#51
i did

it seems to work.
i also had another problem

MANB keeps stalling and the commands in the debug view start to flicker very fast and he dosent move.
#53
when i start my game the character that is ment to be in another room (room15) is in the starting room and i dont know why i set him to be in room 15.

the script


function game_start() {

Ã,  Ã, ccDebug(1);
Ã,  Ã, ccSetBlankView(5);

Ã,  Ã, character[MAN].room = character[GetPlayerCharacter()].room;
Ã,  Ã, character[MANB].room = character[GetPlayerCharacter()].room;

ccCreateCommand(1, "MOVE: 250, 120; MOVE: 305, 113; ROOM: 4,13,100; MOVE: 155,112; MOVE: 155,182; MOVE: 10,184; ROOM: 3,300,183; MOVE: 100, 110; GOTO:1;");
ccExecuteCommand(EAT, 1);
ccCreateCommand(2, "MOVE: 220, 145; MOVE: 90, 145; GOTO:2;");
ccExecuteCommand(RIVERGARD, 2);
}


does it have something to do with the character
[MANB].room = character[GetPlayerCharacter()].room;
command?
#54
lol ya i put the blank view as a blue cup top see what would happen and there was a blue cup moving in the next room.

thanks for all the help :) :)


um also do you need the spaces before the comands??
#55
Wow it worked! :o

i dont know why, i had the ccSetBlankView and the ccCreateCommand and the ccExecuteCommand and the ccDebug

but i dident have the
character[PERSON].room = character[GetPlayerCharacter()].room;
was that why my probraming dident work?
#56
i was trying ccs again and i got the error mesages to stop comming up but the ccExecuteCommand wont work.
#57
k thanks for the help ill try it.
#58
k. thx ill try to look into it. :-\
#59
ya i can
#60
for ex.

ccCreateCommand(1, "ROOM:2,200,110;MOVE:325,110;ROOM:1,0,110;MOVE:200,110;");
ccExecuteCommand(PERSON,1);
SMF spam blocked by CleanTalk