Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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