Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
0 registered members (), 984 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
arrays of pinters #10832
11/01/02 05:34
11/01/02 05:34
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline OP
Senior Member
JayG  Offline OP
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
I want to create an array of pointers but the following syntax does not work

entity* pShip[5];

Is there anyway to do this, I would rather loop through my set of entities that I create instead of create 5 entity*.

I saw the ent_next but then I need to filter out the entities that I do not want.

Are arrays allowed for pointers ?

Jay

Re: arrays of pinters #10833
11/01/02 06:53
11/01/02 06:53

A
Anonymous
Unregistered
Anonymous
Unregistered
A



I don't think you can use that syntax. But look up "Handle" in the Manual. I think that should do the trick for you. That is what I use.

I am at work so I can't go into much detail now.

-Jeff

Re: arrays of pinters #10834
11/01/02 11:12
11/01/02 11:12
Joined: Oct 2002
Posts: 471
USA - Tennessee
JayG Offline OP
Senior Member
JayG  Offline OP
Senior Member

Joined: Oct 2002
Posts: 471
USA - Tennessee
Jeff,

Thanks for the info.. I had forgotten about handle... That is easier than making a DLL [Smile]

Jay


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