Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,490 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
lift #80219
07/02/06 09:05
07/02/06 09:05
Joined: Mar 2006
Posts: 93
Germany,RHLP
Orion Offline OP
Junior Member
Orion  Offline OP
Junior Member

Joined: Mar 2006
Posts: 93
Germany,RHLP
Kann mir bitte jemand sagen, wie ich den Lift so einstelle, dass er nach oben
fährt.(nur kerzengrade nach oben)


Zitat:(Mein Motto) "life is short play more!"
Re: lift [Re: Orion] #80220
07/02/06 09:12
07/02/06 09:12
Joined: Mar 2006
Posts: 93
Germany,RHLP
Orion Offline OP
Junior Member
Orion  Offline OP
Junior Member

Joined: Mar 2006
Posts: 93
Germany,RHLP
Oder anders gesagt,wie erkenne ich die Koords für den Endpunkt des Lifts?


Zitat:(Mein Motto) "life is short play more!"
Re: lift [Re: Orion] #80221
07/02/06 09:28
07/02/06 09:28
Joined: Mar 2006
Posts: 93
Germany,RHLP
Orion Offline OP
Junior Member
Orion  Offline OP
Junior Member

Joined: Mar 2006
Posts: 93
Germany,RHLP
Hallo!!!!!?
Kann mir niemand helfen???


Zitat:(Mein Motto) "life is short play more!"
Re: lift [Re: Orion] #80222
07/02/06 11:36
07/02/06 11:36
Joined: Mar 2006
Posts: 93
Germany,RHLP
Orion Offline OP
Junior Member
Orion  Offline OP
Junior Member

Joined: Mar 2006
Posts: 93
Germany,RHLP
my question is:
how to place a lift in WED?


Zitat:(Mein Motto) "life is short play more!"
Re: lift [Re: Orion] #80223
07/02/06 12:45
07/02/06 12:45
Joined: Mar 2006
Posts: 724
the Netherlands
Frits Offline
User
Frits  Offline
User

Joined: Mar 2006
Posts: 724
the Netherlands
Be patient, it is verry hot out here.

Make a lift in WED, set the floor at its origin (the green lines) and save it as a map entity.
Load it back into your level and make the following script in SED;

var Floor1=0; // or whatever the lowest point of the elevator is.
var Floor2=200; // or whatever the highest point is.

action lift_act
{
my.z=Floor1; // start at lowest point
while(me!=null)
{
if(key_d && my.z>=Floor1)
{
my.z-=5*time;
}
if(key_u && my.z<=Floor2)
{
my.z+=5*time;
}
wait(1);
}
}

Attach the action to the lift.
Build your level.
Run your level.
Press u, lift goes up.
Press d, lift goes down.

Regards,
Frits


I like to keep scripting simple, life is hard enough as it is.
Regards,
Frits

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