Gamestudio Links
Zorro Links
Newest Posts
FXCM => AVA Trade Plugin???
by JeyKey II. 11/25/26 09:53
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, Dbat, EW_bytes), 7,665 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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