Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/27/26 22:06
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, alibaba, 1 invisible), 5,361 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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