Animation involved
Simple movement track
Play - Lift moves to level 2
Reverse - Lift goes back down to level 1
Legends :
Door1 = Door at level 1
Door2 = Door at level 2
Elevator Animation = movement track
Check for elevator position before opening elevator doors
Scene : Supposedly i am at level 2, i press the switch trigger for the lift and i want the lift to come to me
and open it's door to allow me to enter it.
Logic i derived at :
If 'elevator' is at level 2 > open door2.
Else if 'elevator' is at level 1 > play 'elevator' animation > open door2
Closing of elevator doors before playing/reversing animation of Lift.
Scene: Supposedly i enter the lift at level 2 , i press the switch trigger within the lift and i want the lift
to reverse its animation to the first floor, open the door at the first level to allow me to go out of the lift.
Check if door 2 is closed
If 'door 2' is closed > reverse 'elevator' animation > open door1
Else if > close 'door 2' > reverse 'elevator' animation > open door1.
How do i actually go about doing it in UDK? Can some kind souls help me out with this?
Likewise, what are the terms for the If/else if conditions in kismet scripting?
Also, how can i go about checking for the positions of the lift if they are on the right floor?
Thanks in advance,
Keniver.
Simple movement track
Play - Lift moves to level 2
Reverse - Lift goes back down to level 1
Legends :
Door1 = Door at level 1
Door2 = Door at level 2
Elevator Animation = movement track
Check for elevator position before opening elevator doors
Scene : Supposedly i am at level 2, i press the switch trigger for the lift and i want the lift to come to me
and open it's door to allow me to enter it.
Logic i derived at :
If 'elevator' is at level 2 > open door2.
Else if 'elevator' is at level 1 > play 'elevator' animation > open door2
Closing of elevator doors before playing/reversing animation of Lift.
Scene: Supposedly i enter the lift at level 2 , i press the switch trigger within the lift and i want the lift
to reverse its animation to the first floor, open the door at the first level to allow me to go out of the lift.
Check if door 2 is closed
If 'door 2' is closed > reverse 'elevator' animation > open door1
Else if > close 'door 2' > reverse 'elevator' animation > open door1.
How do i actually go about doing it in UDK? Can some kind souls help me out with this?
Likewise, what are the terms for the If/else if conditions in kismet scripting?
Also, how can i go about checking for the positions of the lift if they are on the right floor?
Thanks in advance,
Keniver.
Comment