Gamestudio Links
Zorro Links
Newest Posts
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 2,814 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joe_kane, Namitha_NN, Syndrela, agasior, mosfet
19189 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
movement and time #183156
02/10/08 14:58
02/10/08 14:58
Joined: Jun 2007
Posts: 63
Italy
Sonic220 Offline OP
Junior Member
Sonic220  Offline OP
Junior Member

Joined: Jun 2007
Posts: 63
Italy
it's strange, i haven't ever done it before.
If a want to create an action that in the first 30 seconds move the object along his x and in the after 20 along z and x, and then in the after 30 seconds roteate etc etc.
How can i do?
create a while like
while(1){
c++;}
while c < 100 move
while c > 100 && < 220 roteate

But it havent the right time.


~Vision Divine~
Re: movement and time [Re: Sonic220] #183157
02/10/08 15:23
02/10/08 15:23
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
var t = 0;
while (t < 30)
{
move along x;
t += time_step * 16;
wait(1);
}

while (t < 50)
{
move along z,x;
t += time_step * 16;
wait(1);
}

while (t < 80)
{
rotate;
t += time_step * 16;
wait(1);
}

Hope you get the idea...


Gamestudio download | 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