Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 33,186 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rht, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 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