Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by k_ivan. 06/10/26 14:39
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (alx, TipmyPip, AndrewAMD, Quad, 1 invisible), 3,180 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
view position help #315302
03/14/10 16:16
03/14/10 16:16
Joined: Mar 2010
Posts: 17
K
Kiko Offline OP
Warez kiddie
Kiko  Offline OP
Warez kiddie
K

Joined: Mar 2010
Posts: 17
Hi everyone,

I'm just new in gamestudio, I just build a building composed of 3 floors, in the menu I created buttons that corresponds every floor, let say for example when I click the button 1st floor, it will go directly to the 1st floor and 2nd floor button to 2nd floor but all floors are within the same level. How can I suppose to do that? If I put camera or add position, is it possible?Any suggestions?


Thanks,

Last edited by Kiko; 03/15/10 00:18.
Re: camera position help [Re: Kiko] #315353
03/14/10 21:12
03/14/10 21:12
Joined: Sep 2009
Posts: 155
France
ayks Offline
Member
ayks  Offline
Member

Joined: Sep 2009
Posts: 155
France
just upgrade the z of the elevator ? :|

elevator.z+=100; so the elevator go up and lead you to the superior lvl :|

Re: view position help [Re: ayks] #315370
03/14/10 23:59
03/14/10 23:59
Joined: Mar 2010
Posts: 17
K
Kiko Offline OP
Warez kiddie
Kiko  Offline OP
Warez kiddie
K

Joined: Mar 2010
Posts: 17
can i use add position in wed on that and manipulate it in script?

Re: view position help [Re: Kiko] #315433
03/15/10 14:20
03/15/10 14:20
Joined: Sep 2009
Posts: 155
France
ayks Offline
Member
ayks  Offline
Member

Joined: Sep 2009
Posts: 155
France
u have to work in SED for change the z of the elevator.

Quote:

var nbfloor=1;

function Felevator()
{
checkfloor:
while (nbfloor==floor){wait(1);}
if (floor==1){elevator.z=0;}
if (floor==2){elevator.z=50;}
if (floor==3}{elevator.z=100;}
nbfloor=floor;
goto checkfloor;
}

action elevator
{
my.event=Felevator();
}

then u put the action elevator to your elevator :|
im noob but i think its ~this way :|
i know that use goto is not good but i try to help :|
if u haven't already touch to SED, u should go look the tutorial :|

Last edited by ayks; 03/15/10 14:22.
Re: view position help [Re: ayks] #315445
03/15/10 15:47
03/15/10 15:47
Joined: Mar 2010
Posts: 17
K
Kiko Offline OP
Warez kiddie
Kiko  Offline OP
Warez kiddie
K

Joined: Mar 2010
Posts: 17
thanks..


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