Dobbel-Post

Ich will jetzt nen Zweiten Move einbinden der aber den ersten vorraussetzt (Da der Gegner bei der ersten sozusagen kurz außer gefecht ist, er geht paar schritte zurück etc), und in dieser Zeit soll der Spieler halt hin und nochmal den Key drücken, damit eine zweite Animation ausgeführt wird.

Habt ihr ne Idee?
Script sieht bis jetzt so aus: (Hab momentan net viel Zeit daher können einige Flüchtigkeitsfehler drin sein sry)

Code:
Scriptname ZFinisherQuestScript

Short Done

Float fQuestdelayTime;set to 0.1 from another script

Short Finisherkey

Ref PossibleTarget
Ref Target

Ref PlayerWeapon
Ref PlayerWeaponType

Short Move
Short Possible
Short Possible2

Float Timer
Float Timer2

Short TargetBaseHealth

Begin GameMode
	If ( IsKeyPressed2 Finisherkey ) 
		Set Move to 1
	Endif
	If Move == 1
		if Possible == 0
			Set PossibleTarget to GetCrosshairRef
			If PossibleTarget != 0
				If ( PossibleTarget.IsActor ) 
					If ( PossibleTarget.IsCreature == 0 ) 
						If ( PossibleTarget.GetDead == 0 )        
							Set Target to PossibleTarget
							Set Possible to 1
						Endif
					Endif
				Endif
			Else
				Set move to 0
			Endif
		ElseIf Possible == 1
			Set Playerweapon to Player.GetEquippedObject 16
			If PlayerWeapon != 0
				Set PlayerWeaponType to GetWeaponType PlayerWeapon
			Endif
			Set TargetBaseHealth to Target.GetBaseActorValue Health
			If Player.IsWeaponOut
				If PlayerWeaponType == 0 || PlayerWeaponType == 1
					If Target.GetAV Health <= (TargetBaseHealth / 2)
						If Player != Target
							Target.AddItem ZTHeBStuRing 1
							Target.SetRestrained 1
							Target.SetUnconscious 1
							Set Possible to 2
							Player.Pickidle
							Target.PickIdle
							Set Possible to 3
						Else
							Set move to 0
						Endif
					Else
						Set Move to 0
					Endif
				Else
					Set move to 0
				Endif
			Else
				Set move to 0
			Endif
		Elseif Possible == 3
			If Timer >= 0.2 && Timer < 0.5
				PlaySound BreakingNose
			Elseif Timer < 3.333 && Timer >= 0.6
				If IsKeyPressed2 FinisherKey
					If Target != 0
						If (Target.IsActor ) 
							If ( Target.IsCreature == 0 ) 
								If ( Target.GetDead == 0 )
									Set Possible to 4
								Endif
							Endif
						Endif
					Endif
				Endif
			Elseif Timer >= 3.333
				If Target.GetItemCount ZTFinisherRing < 1         
					Target.RemoveItem ZTHeBStuRing 1
					Target.SetRestrained 0
					Target.SetUnconscious 0
					Set Move to 0
					Set Timer to 0
					Set Possible to 0
				Endif
			Endif
			Set Timer to Timer + GetSecondsPassed
		Elseif Possible == 4
			Target.RemoveItem ZTheBStuRing 1
			Target.AddItem ZTFinisherRing 1
			If Player.IsWeaponOut
				Set Timer to 0
				Set Possible to 5
				Target.SetRestrained 1
				Target.PickIdle
				Player.PickIdle
			Endif
		Elseif Possible == 5
			If Timer == 1
				Target.Kill
				Target.RemoveItem ZTFinisherRing 1
				Set Move to 0
				Set Timer to 0
				Set Possible to 0
			Endif
			Set Timer to Timer + GetSecondsPassed
		Endif
	Endif
End
2tens:
Wie kann ich ein Skelett dazu bringen in Richtung des Spielers zu sehen?
SkelettRef.Look Player funzt irgendwie net, noch ne andere Idee?