Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
multiple object position calculations #180559
01/28/08 22:29
01/28/08 22:29
Joined: Sep 2007
Posts: 49
O
onslaught147 Offline OP
Newbie
onslaught147  Offline OP
Newbie
O

Joined: Sep 2007
Posts: 49
if i have multiple copies of the same object lets say 100+ lets call it entity_a. if i tell entity_a to check entity_a`s xyz position will it check the location of all its clone objects within a single frame? and if so how fast will this be for the average computer, and will the object check its own position?ty


The only thing in life you can depend on is death and taxes.
Re: multiple object position calculations [Re: onslaught147] #180560
01/29/08 00:46
01/29/08 00:46
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
I don't see how, Unless you have the same action applied to entity_a
and all it's clones.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: multiple object position calculations [Re: Nidhogg] #180561
01/29/08 03:07
01/29/08 03:07
Joined: Sep 2007
Posts: 49
O
onslaught147 Offline OP
Newbie
onslaught147  Offline OP
Newbie
O

Joined: Sep 2007
Posts: 49
ya its the same exact thing with the same model and script attached to it


The only thing in life you can depend on is death and taxes.
Re: multiple object position calculations [Re: onslaught147] #180562
01/29/08 09:44
01/29/08 09:44
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
If you are making clones by script (not in wed) try to use define and var.
f.e. define number,skill1; var var_number;

while(1)
{
if(var_number <= 100)
{var_number +=1; you = ent_create....; you.number = var_number;}
else{break;}
wait(1);
}
then
if(entity_a.number == 88){show entity_a position;}

This is what You want or I don't understand something?


Never say never.

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