Hello !
Monday, I post a message on the 7.80 public beta topic to say I found a "bug" with the IGNORE_YOU flag in the c_move function.
JCL, answer he didn't reproduce the bug. But I really have a problem with this IGNORE_YOU flag in c_move function, And it's since the 7.8 version, in the 7.7 it's work.
I create a small level for test, You can download it here :
http://www.megaupload.com/?d=7LJ29JKVYou'll find the level, the lite-c file and the publish exe.
Test it, it's a bug, it will be good to have a correction version, or it's my code which have an error, sorry
My code :
#include <acknex.h>
#include <default.c>
void main()
{
//video_aspect = 4/3;
video_mode = 8;
video_screen = 1;
video_depth = 32;
time_smooth = 0.99;
fps_max=32;
fps_lock=OFF;
mouse_mode = 0;
d3d_antialias = 1;
d3d_anisotropy = 0;
d3d_triplebuffer = 0;
d3d_mipmapping = 3;
sky_clip = 0;
//warn_level = 0;
enable_polycollision=2;
preload_mode = 3;
wait(-2);
level_load("ignore_test.wmb");
}
ENTITY* caisse_ent;
action caisse_ac()
{
set(me,POLYGON);
caisse_ent=me;
}
action player_ac()
{
set(me,POLYGON);
while(me)
{
my.skill1=2*time_step*key_force.x; // mouse movement changes PAN
my.skill2=2*time_step*key_force.y;
you=caisse_ent;
c_move(me,my.skill1,nullvector,IGNORE_YOU|GLIDE);
wait(1);
}
}