I have done a str_cpy to confirm that str_cmpi is working - which is.
The trace doesn't identify the texture 'dirt1'.
help please.
The player is assigned this action.
Suspect trace_mode?
action paction
{
player_move();
while(1)
{
vec_set(playerl.x,my.x);
playerl.x = player.x;
playerl.y = player.y;
playerl.z = player.z - 4000;
trace_mode = ignore_me+use_box+scan_texture;
result = trace(player.x,playerl.x);
//str_cpy(tex_name,"dirt1");
msg.string = tex_name;
msg.visible = on;
surfacetex=str_cmpi(tex_name,"DIRT1");
wait(1);
}
}
Last edited by kiamonster; 05/08/07 20:01.