Account
News
Downloads
Community
Wiki
Walkthrough

AndragilScript

Editor ID:
AndragilScript


Form ID:
00065557


Typ:
Objekt


Script:
ScriptName AndragilScript


;controls combat situation for quest TrainingBlock


short combatvar

float timer

Begin Gamemode

if ( Combatvar == 1 )
; if ( Player.GetWeaponAnimType == 0 )
SetCombatStyle AndragilTraining
startcombat Player
set combatvar to 2
; else
; SetCombatStyle
; set Combatvar to 5 ;if player has weapon equipped at the beginning, don't even start combat
; endif
elseif ( Combatvar == 2 )
; if ( Player.GetWeaponAnimType != 0 )
; stopcombat Player
; set Combatvar to 5 ;flag for player having equipped weapon during combat; this resets the whole thing
; SetCombatStyle
; set timer to 0
; endif
if ( timer < 40 )
set timer to ( timer + GetSecondsPassed )
else
stopcombat Player
set Combatvar to 3
SetCombatStyle
Startconversation player
endif
endif

End


Begin OnDeath

if ( GetStage TrainingBlock >= 10 ) && ( GetStage TrainingBlock < 100 )
SetStage TrainingBlock 200
endif


End


Mit der Nutzung dieser Website erklären Sie sich damit einverstanden, dass wir Cookies verwenden. Weitere Informationen hierzu finden Sie in unserer Datenschutzerklärung.
OK