problems with cloning codes

ok, so I have clones for a few actors, but when I write code for the clones, it says there are errors... can someone help me?
I want the main actor's clones to do exactly what it does. I'm not sure what is wrong... according to the code, it should work.
The error says that there is an error on every line of code that uses one of the clones. it says there is an expected ; but I already have one.
can someone help me?
- Code: Select all
medium_ant_down.yvelocity = medium_ant_down.yvelocity - 3;
medium_ant_left.xvelocity = medium_ant_left.xvelocity + 3;
medium_ant_right.xvelocity = medium_ant_right.xvelocity - 3;
medium_ant_up.yvelocity = medium_ant_up.yvelocity + 3;
small_ant_down.yvelocity = small_ant_down.yvelocity - 3;
small_ant_down.1.yvelocity = small_ant_down.1.yvelocity -3;
small_ant_down.2.yvelocity = small_ant_down.2.yvelocity -3;
small_ant_left.xvelocity = small_ant_left.xvelocity + 3;
small_ant_left.1.xvelocity = small_ant_left.1.xvelocity + 3;
small_ant_right.xvelocity = small_ant_right.xvelocity - 3;
small_ant_right.1.xvelocity = small_ant_right.1.xvelocity - 3;
small_ant_right.2.xvelocity = small_ant_right.2.xvelocity - 3;
small_ant_up.yvelocity = small_ant_up.yvelocity + 3;
small_ant_up.1.yvelocity = small_ant_up.1.yvelocity + 3;
small_ant_up.2.yvelocity = small_ant_up.2.yvelocity + 3;
small_ant_up.3.yvelocity = small_ant_up.3.yvelocity + 3;
small_ant_up.4.yvelocity = small_ant_up.4.yvelocity + 3;
I want the main actor's clones to do exactly what it does. I'm not sure what is wrong... according to the code, it should work.
The error says that there is an error on every line of code that uses one of the clones. it says there is an expected ; but I already have one.
can someone help me?