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 (AndrewAMD, TipmyPip), 12,400 guests, and 5 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
dynamic change of .window bmap? #164772
10/31/07 20:31
10/31/07 20:31
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
Greetings,

Is it possible to dynamically change the bmap for a WINDOW during game-play? I know panel bmaps can be changed...but not sure about the window bmaps. For example to change a window bmap from "Region_Map1" to "Region_Map2" I've tried:

Mini_Panel.window = 5, 5, 130, 162, Region_Map2, MiniX, MiniY;

...but no dice. Thanks in advance for any help.

Re: dynamic change of .window bmap? [Re: SH6811] #164773
10/31/07 21:16
10/31/07 21:16
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i hope this is wat u means

manaul:

pan_setbmap(PANEL*,var type,var num,BMAP*);

Replaces a bmap of a panel element.

Parameters:
PANEL* Panel pointer.
type Element type:
3 = button
4 = slider
5 = window
6 = needle
num Number of the element, starting with 1. If the element contains several bmaps, like a button, the digit behind the decimal gives the number of the bmap to be affected (e.g. 0.0 = bmapOn, 0.1 = bmapOff, 0.2 = bmapOver of the first button).
BMAP* Bmap pointer.

Remarks:
The changed element is not saved by game_save.
Examples:
// change the bmapOff of a panel button
pan_setbmap(mypanel,3,1.1,newbmap);


"empty"
Re: dynamic change of .window bmap? [Re: flits] #164774
10/31/07 22:38
10/31/07 22:38
Joined: Jan 2004
Posts: 59
S
SH6811 Offline OP
Junior Member
SH6811  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 59
Thanks for your reply. I'm using 3DGS Version A6 Pro, I'm not sure that command will work...is there a command for A6?

Re: dynamic change of .window bmap? [Re: SH6811] #164775
11/01/07 07:49
11/01/07 07:49
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
That command is for A6.

Please use the manual.


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