Gamestudio Links
Zorro Links
Newest Posts
Alternative to Stooq for Zorro S
by cwford. 10/09/26 00:46
Stooq now requires an API key
by cwford. 10/08/26 23:27
ZorroGPT
by TipmyPip. 10/06/26 05:32
Purchase A8 full licence version
by jcl. 10/05/26 12:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (cwford, AndrewAMD, JeyKey II), 21,007 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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