Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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