forked from jmarshall23/DNF-reimposition
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathLiftSpecialPart_SideControl.uc
40 lines (35 loc) · 1005 Bytes
/
LiftSpecialPart_SideControl.uc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
* LiftSpecialPart_SideControl generated by Eliot.UELib using UELib.CLI.
* Eliot.UELib © 2009-2022 Eliot van Uytfanghe. All rights reserved.
* http://eliotvu.com
*
* All rights belong to their respective owners.
*******************************************************************************/
class LiftSpecialPart_SideControl extends Switches_Generic_PushSwitch_B;
var Veh_Lift Lift;
event PostBeginPlay()
{
super(dnUsableSomething).PostBeginPlay();
Lift = Veh_Lift(Owner);
return;
}
simulated function bool CanBeUsedBy(Pawn User)
{
// End:0x35
if(__NFUN_150__(__NFUN_173__(int(Lift.LiftState), int(2)), __NFUN_206__(Lift.LiftDirection, 0)))
{
return false;
}
return super(dnUsableSomething).CanBeUsedBy(User);
return;
}
function EndSwitchState()
{
super(aFinalDecoration_Switches).EndSwitchState();
Lift.LowerLift();
return;
}
defaultproperties
{
SwitchStates=/* Array type was not detected. */
}