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
0 registered members (), 17,416 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
Model interactions #189754
03/21/08 06:38
03/21/08 06:38
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Hello everyone,
I am a real beginner in 3D Game Studio. I am seeking for any tutorials for model interaction (I am not sure whether it is the correct term). Basically, what I want to implement is to make models (e.g. a building model) interactive. For example, I want to click a building in order to open a shopping panel.
Please forgive me if this is not the correct section to post my message.
Thank you all in advance.

Re: Model interactions [Re: eminent] #189755
03/21/08 10:52
03/21/08 10:52
Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
kasimir Offline
Senior Member
kasimir  Offline
Senior Member

Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
bmap = shopping_bmap = <shopping.bmp>; //backgroundpicture

panel shopping_panel
{

pos_x = 100;
pos_y = 100;

bmap = shopping_bmap;

//buttons, windows ...

layer = 1;

}

function click_building
{

shopping_panel.visible = on;
...

}


//attach this function to your building:
action building
{

my.enable_click = on;
my.event = click_building;

}

Last edited by kasimir; 03/21/08 10:57.

Moderated by  HeelX, rvL_eXile 

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