Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
AI models running at random speeds #204654
04/30/08 16:10
04/30/08 16:10
Joined: Apr 2008
Posts: 5
I
ItsMe Offline OP
Newbie
ItsMe  Offline OP
Newbie
I

Joined: Apr 2008
Posts: 5
My models are too run in a straight line. some faster and some slower, if thers a way to make this happen guidance would be appreciated.

Thanks

Re: AI models running at random speeds [Re: ItsMe] #204680
04/30/08 18:23
04/30/08 18:23
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
F.e. use define, like:
define speed,skill1;

then in action
my.speed = random(10);
c_move(me, vector(my.speed *time_step,0,0), nullvector, ignore_passable | glide);


Never say never.

Moderated by  HeelX, Spirit 

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