Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 02:32
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, kzhao, qin), 21,501 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 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