scn aaDROrd0HQ01AyleidenkristallSKRIPT
Ref MySelf
Short RotateX
Short RotateY
Short RotateZ
Begin GameMode
Set MySelf To GetSelf
If ( MySelf.GetDisabled == 0 )
;#######################
;# Rotation um X-Achse #
;#######################
If ( RotateX < 360 )
Set RotateX To ( MySelf.GetAngle X + 1 )
Elseif ( RotateX >= 360 )
Set RotateX To 0
Endif
;#######################
;# Rotation um Y-Achse #
;#######################
If ( RotateY < 360 )
Set RotateY To ( MySelf.GetAngle Y + 1 )
Elseif ( RotateY >= 360 )
Set RotateY To 0
Endif
;#######################
;# Rotation um Z-Achse #
;#######################
If ( RotateZ < 360 )
Set RotateZ To ( MySelf.GetAngle Z + 1 )
Elseif ( RotateZ >= 360 )
Set RotateZ To 0
Endif
;#######################
;# Rotation der Achsen #
;#######################
MySelf.SetAngle X RotateX
MySelf.SetAngle Y RotateY
MySelf.SetAngle Z RotateZ
Endif
End
SCN Bla
long geld
Begin OnLoad
set geld to player.getitemcount gold001
if geld >= Menge1
Haufen1.enable
else
Haufen1.disbale
endif
if geld >= Menge2
Haufen2.enable
else
Haufen2.disbale
endif
if geld >= Menge3
Haufen3.enable
else
Haufen3.disbale
endif
;... wiederhole es für jeden Haufen
end
SCN Bla2
long geld
begin OnLoad
set geld to player.getitemcount gold001
player.placeatme gold001 geld
end
SCN DarlanSafeGoldScript
Begin GameMode
if (player.GetInCell DeinZellenName)
if (player.GetItemCount Gold001 >= 500)
DarlanSafeMoneyLevel01.enable
else
DarlanSafeMoneyLevel01.disable
endif
if (player.GetItemCount Gold001 >= 1000)
DarlanSafeMoneyLevel02.enable
else
DarlanSafeMoneyLevel02.disable
endif
if (player.GetItemCount Gold001 >= 2000)
DarlanSafeMoneyLevel03.enable
else
DarlanSafeMoneyLevel03.disable
endif
else
return
endif
end
scn aaDROrd0HQ04ObjektSkriptDaemonenstein01
Short Once
Short Res01
Short Res02
Short Res03
Short Res04
Short Res05
Float TimerDisable
Float Timer01
Float Timer02
Float Timer03
Float Timer04
Float Timer05
Begin OnActivate Player
If ( Once == 0 )
Set Once To 1
TriggerHitShader 3
Endif
End
Begin GameMode
If ( Once == 1 )
Set Once To 2
PlayGroup Forward 0
PrintToConsole "Graufels - Seelenfokus - Forward"
Elseif ( Once == 2 ) && ( IsAnimPlaying == 0 )
Set Once To 3
PlayGroup Backward 0
PrintToConsole "Graufels - Seelenfokus - Backward"
Elseif ( Once == 3 ) && ( IsAnimPlaying == 0 )
Set Once To 4
PlayGroup Backward 0
PrintToConsole "Graufels - Seelenfokus - Backward"
Elseif ( Once == 4 ) && ( IsAnimPlaying == 0 )
Set Once To 5
PlayGroup FastForward 1
PrintToConsole "Graufels - Seelenfokus - FastForward"
Elseif ( Once == 5 ) && ( IsAnimPlaying == 0 )
Set Once To 6
DROrdHQ04SchmiedeGegner01.Kill
DROrdHQ04SchmiedeGegner02.Kill
DROrdHQ04SchmiedeGegner03.Kill
DROrdHQ04SchmiedeGegner04.Kill
DROrdHQ04SchmiedeGegner05.Kill
DROrdHQ04SchmiedeGegner01.SetDestroyed 1
DROrdHQ04SchmiedeGegner02.SetDestroyed 1
DROrdHQ04SchmiedeGegner03.SetDestroyed 1
DROrdHQ04SchmiedeGegner04.SetDestroyed 1
DROrdHQ04SchmiedeGegner05.SetDestroyed 1
DROrd0HQ04SchmiedeRauch01.Disable
DROrd0HQ04SchmiedeRauch02.Disable
DROrd0HQ04SchmiedeRauch03.Disable
DROrd0HQ04SchmiedeRauch04.Disable
DROrd0HQ04SchmiedeRauch05.Disable
DROrd0HQ04SchmiedeRauch06.Disable
DROrd0HQ04SchmiedeRauch07.Disable
DROrd0HQ04SchmiedeRauch08.Disable
DROrd0HQ04SchmiedeRauch09.Disable
DROrd0HQ04SchmiedeRauch10.Disable
DROrd0HQ04SchmiedeRauch11.Disable
DROrd0HQ04SchmiedeRauch12.Disable
DROrd0HQ04SchmiedeRauchColli.Disable
Elseif ( Once == 6 )
Set Once To 7
Set TimerDisable To 20
Elseif ( Once == 7 )
Set TimerDisable To ( TimerDisable - GetSecondsPassed )
If ( TimerDisable > 9 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.9
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.9
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.9
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.9
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.9
Elseif ( TimerDisable > 8 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.8
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.8
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.8
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.8
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.8
Elseif ( TimerDisable > 7 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.7
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.7
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.7
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.7
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.7
Elseif ( TimerDisable > 6 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.6
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.6
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.6
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.6
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.6
Elseif ( TimerDisable > 5 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.5
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.5
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.5
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.5
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.5
Elseif ( TimerDisable > 4 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.4
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.4
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.4
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.4
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.4
Elseif ( TimerDisable > 3 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.3
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.3
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.3
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.3
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.3
Elseif ( TimerDisable > 2 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.2
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.2
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.2
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.2
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.2
Elseif ( TimerDisable > 1 )
DROrdHQ04SchmiedeGegner01.SetActorAlpha 0.1
DROrdHQ04SchmiedeGegner02.SetActorAlpha 0.1
DROrdHQ04SchmiedeGegner03.SetActorAlpha 0.1
DROrdHQ04SchmiedeGegner04.SetActorAlpha 0.1
DROrdHQ04SchmiedeGegner05.SetActorAlpha 0.1
Elseif ( TimerDisable < 1 )
Set Once To 8
DROrdHQ04SchmiedeGegner01.Disable
DROrdHQ04SchmiedeGegner02.Disable
DROrdHQ04SchmiedeGegner03.Disable
DROrdHQ04SchmiedeGegner04.Disable
DROrdHQ04SchmiedeGegner05.Disable
Endif
Endif
If ( Once < 8 )
If ( Res01 == 0 ) && ( DROrdHQ04SchmiedeGegner01.GetDead == 1 )
Set Res01 To 1
Set Timer01 To 10
Elseif ( Res01 == 1 )
If ( Timer01 <= 0 )
Set Res01 To 0
DROrdHQ04SchmiedeGegner01.Resurrect 1
Else
Set Timer01 To ( Timer01 - GetSecondsPassed )
Endif
Endif
If ( Res02 == 0 ) && ( DROrdHQ04SchmiedeGegner02.GetDead == 1 )
Set Res02 To 1
Set Timer02 To 10
Elseif ( Res02 == 1 )
If ( Timer02 <= 0 )
Set Res02 To 0
DROrdHQ04SchmiedeGegner02.Resurrect 1
Else
Set Timer02 To ( Timer02 - GetSecondsPassed )
Endif
Endif
If ( Res03 == 0 ) && ( DROrdHQ04SchmiedeGegner03.GetDead == 1 )
Set Res03 To 1
Set Timer03 To 10
Elseif ( Res03 == 1 )
If ( Timer03 <= 0 )
Set Res03 To 0
DROrdHQ04SchmiedeGegner03.Resurrect 1
Else
Set Timer03 To ( Timer03 - GetSecondsPassed )
Endif
Endif
If ( Res04 == 0 ) && ( DROrdHQ04SchmiedeGegner04.GetDead == 1 )
Set Res04 To 1
Set Timer04 To 10
Elseif ( Res04 == 1 )
If ( Timer04 <= 0 )
Set Res04 To 0
DROrdHQ04SchmiedeGegner04.Resurrect 1
Else
Set Timer04 To ( Timer04 - GetSecondsPassed )
Endif
Endif
If ( Res05 == 0 ) && ( DROrdHQ04SchmiedeGegner05.GetDead == 1 )
Set Res05 To 1
Set Timer05 To 10
Elseif ( Res05 == 1 )
If ( Timer05 <= 0 )
Set Res05 To 0
DROrdHQ04SchmiedeGegner05.Resurrect 1
Else
Set Timer05 To ( Timer05 - GetSecondsPassed )
Endif
Endif
Endif
End