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
Page 2 of 2 1 2
Re: question about ent_create [Re: tompo] #128888
05/09/07 15:13
05/09/07 15:13
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Quote:

and you should first write ent_create then use the loop.



I've wrote this too I've only said that it can be done in one function but first ent_create then loop
But ok... my bad


Never say never.
Re: question about ent_create [Re: tompo] #128889
05/09/07 15:25
05/09/07 15:25
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
about loops... some question I've just thinked up...
what is better? one long loop or separate codes?

Code:
 
function abc
{
while(1)
{
abcd();
abcde();
abcdef();
wait(1);
}
}

or

function abc
{
while(1)
{
if(abcd == blablalba){blablabla;}
abcde = vec_set(blablabla);
if(abcdef = 123)
{
blablabla...
if(blablabla){blablabla;}
...
...
.....
}
....
.....
.......
.........
wait(1);
}
}




Never say never.
Re: question about ent_create [Re: tompo] #128890
05/09/07 15:31
05/09/07 15:31
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
It doesn't matter, so that might be a matter of taste

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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