Hi all,
I am ashamed to make a syntax error topic
but I can`t see any mistake. I copied this code from "EVENT_PUSH"-page in the manual:
my.push = 3; // only get pushed by entities with push above 3
my.ENABLE_PUSH = ON; // sensible for push collision
my.emask |= ENABLE_PUSH;
my.event = bounce_event;
Here the same in my code:
function enemy_bomb()
{
c_setminmax(me); // bounding box setzten
my.STATE = 1;
my.group = 3;
my.push = 3; // only get pushed by entities with push above 3
my.ENABLE_PUSH = ON; // sensible for push collision
my.emask |= ENABLE_PUSH;
my.event = spieler_treffer;
my.pan = your.pan+180;
my.tilt = your.tilt;
my.roll = your.roll;
...
Engine gives me a syntax error message in Line 12 <my.ENABLE_PUSH = ON; // sensible for push collision>.
There must be something wrong in this line. If I comment it out, there`s no error. But I don`t know what
Thx
Ditje