Quote:

When I try this;
Code:

var earthgravity[3]=0,0,-300;
entity* boulderm;

string boulder=<fels1_0.mdl>;

function emit_sphere();

action boulder_move
{
boulderm=me;
my.shadow=on;

phent_settype(me,PH_RIGID,PH_poly);
ph_setgravity(earthgravity);
phent_setmass(me,PH_BOX);
phent_setfriction(me,70);
phent_setelasticity(me,30,10);
}

function emit_sphere()
{
if(boulderm!=null) {remove(boulderm);}// remove this bracket
{
temp.x=camera.x;
temp.y=camera.y;
temp.z=camera.z;
ent_create(boulder,temp,boulder_move);
}
}

on_mouse_middle=emit_sphere;



I get an error;
Syntax error - non existent/empty function remove

When I change place; fist function then action, I get also an error;
Parameter unknown boulder_move.

I don't understand this, what goes wrong here?

Regards,
Frits




try tzhis and tell me if it works


Visit:
schwenkschuster-design.de