Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
0 registered members (), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Give up - whats wrong with this please? #128717
05/08/07 19:43
05/08/07 19:43
Joined: Apr 2002
Posts: 224
Twickenham,England
kiamonster Offline OP
Member
kiamonster  Offline OP
Member

Joined: Apr 2002
Posts: 224
Twickenham,England
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.
Re: Give up - whats wrong with this please? [Re: kiamonster] #128718
05/08/07 20:19
05/08/07 20:19
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Maybe try without using use_box in the trace mode o_O

Re: Give up - whats wrong with this please? [Re: kiamonster] #128719
05/08/07 20:32
05/08/07 20:32
Joined: Apr 2002
Posts: 224
Twickenham,England
kiamonster Offline OP
Member
kiamonster  Offline OP
Member

Joined: Apr 2002
Posts: 224
Twickenham,England
Thanks Claus - that worked,

Re: Give up - whats wrong with this please? [Re: kiamonster] #128720
05/08/07 21:19
05/08/07 21:19
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
I'm glad to hear that - it was really just a guess


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1