Okay, I did it. Not really worked. SHoud I attach it in WED to the entity or not? Thanks :DDD
function robot_act()
{
robot = ix_getEntity("drohne");
my = robot;
my.pan += 90;
}
void main()
{
mouse_mode = 4;
video_set(800,600,0,0);
level_load("City.wmb");
wait(1);
on_b = move;
robot_act();
}
This is when it is isnt attached in WED, i get an crash...
If I attach it in WED nothing happens, so the action isnt even starting... SHIT!