|
@@ -779,13 +779,15 @@ def sit():
|
779
|
779
|
#killall()
|
780
|
780
|
killact(3)
|
781
|
781
|
if STANCE == 0:
|
782
|
|
- skater.playAction("reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
783
|
|
- deck.playAction("a_reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
784
|
|
- trucks.playAction("a_reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
782
|
+ own['requestAction'] = 'reg_sit'
|
|
783
|
+ # skater.playAction("reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
784
|
+ # deck.playAction("a_reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
785
|
+ # trucks.playAction("a_reg_sit", 1,65, layer=300, play_mode=0, speed=1)
|
785
|
786
|
elif STANCE == 1:
|
786
|
|
- skater.playAction("fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
787
|
|
- deck.playAction("a_fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
788
|
|
- trucks.playAction("a_fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
787
|
+ own['requestAction'] = 'fak_sit'
|
|
788
|
+ # skater.playAction("fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
789
|
+ # deck.playAction("a_fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
|
790
|
+ # trucks.playAction("a_fak_sit", 1,65, layer=300, play_mode=0, speed=1)
|
789
|
791
|
except:
|
790
|
792
|
pass
|
791
|
793
|
if own['sit'] == 1:
|
|
@@ -794,15 +796,17 @@ def sit():
|
794
|
796
|
sit_vect = r_ground.hitObject.getAxisVect( [0, 1, 0])
|
795
|
797
|
if STANCE == 0:
|
796
|
798
|
own.alignAxisToVect(-sit_vect, 0, .2)
|
797
|
|
- skater.playAction("reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
798
|
|
- deck.playAction("a_reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
799
|
|
- trucks.playAction("a_reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
799
|
+ own['requestAction'] = 'reg_sit'
|
|
800
|
+ # skater.playAction("reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
801
|
+ # deck.playAction("a_reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
802
|
+ # trucks.playAction("a_reg_sit", 65,65, layer=299, play_mode=1, speed=1)
|
800
|
803
|
|
801
|
804
|
elif STANCE == 1:
|
|
805
|
+ own['requestAction'] = 'fak_sit'
|
802
|
806
|
own.alignAxisToVect(sit_vect, 0, .2)
|
803
|
|
- skater.playAction("fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
804
|
|
- deck.playAction("a_fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
805
|
|
- trucks.playAction("a_fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
807
|
+ # skater.playAction("fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
808
|
+ # deck.playAction("a_fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
|
809
|
+ # trucks.playAction("a_fak_sit", 65,65, layer=299, play_mode=1, speed=1)
|
806
|
810
|
except:
|
807
|
811
|
pass
|
808
|
812
|
|