Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,758 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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