Quote:


action roller
{
PLAYER=me;
player.enable_scan = on;// this makes sure the player can be scanned by
[Walking script...]
}



function jumpspringfunc()
{player.enable_scan = on;

if ((EVENT_TYPE == EVENT_ENTITY)&&(YOU == PLAYER))
{
result = vec_dist(my.x,player.x);

if(result <= 1)
{
phent_addcentralforce(PLAYER,vector(my.skill1*COS(my.pan),my.skill1*SIN(my.pan),my.skill1*TAN(my.tilt)))*time;
}
}
}


action mola
{
my.event = jumpspringfunc();
temp.x = 120;
temp.y = 120;
temp.z = 300;
scan_entity(my.x,temp);
}


Ok, now its like this, but the same problem exists :S




Your mistake is in the function call at the top of your action (marked in red-orange). You need the () in there.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials