Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/28/26 14:01
TMFs on options in live trading
by Spirit. 03/26/26 19:52
TDAmeritrade plugin with new Schwab accountt?
by AndrewAMD. 03/24/26 17:11
Black Book, 4th edition
by jcl. 03/17/26 09:28
Trying to get started...
by Lukudo. 03/16/26 09:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 4,413 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
mredit, vestriaa, Lukudo, mldenoiser, the1
19204 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Defining windows #154658
09/16/07 20:47
09/16/07 20:47
Joined: Sep 2007
Posts: 14
X
xykynan Offline OP
Newbie
xykynan  Offline OP
Newbie
X

Joined: Sep 2007
Posts: 14
I would like to define a PANEL window outside of the initial declaration (as in a PANEL array). I tried the following:

PANEL hp_bar[5];

(hp_bar[0]).window = (20, 20, 20, 5, healthbar, (spr[0].cur_hp/spr[0].max_hp)*600, 0);

However, apparently window is not a member of PANEL.

Any help would be appreciated.
Thanks in advance.

Re: Defining windows [Re: xykynan] #154659
09/17/07 11:53
09/17/07 11:53
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
You have no proper panel declaration at all, but even if you had I don't think you can later add a window to an already-declared panel. Elements like windows must be already contained in the declaration.

Re: Defining windows [Re: Tobias] #154660
09/18/07 14:32
09/18/07 14:32
Joined: Sep 2007
Posts: 14
X
xykynan Offline OP
Newbie
xykynan  Offline OP
Newbie
X

Joined: Sep 2007
Posts: 14
Ah, thanks anyways.


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

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