Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,789 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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