Ich hab zwar null Plan vom Modden, aber wohl vom Programmieren - bist du dir sicher, dass das fett markierte nicht doch "HFCstage" heißen soll?

Zitat Zitat
scn HFCTEST

short HFCStage

Begin OnActivate

If HFCStage == 0
If ( Player.HasSpell HFCAbility == 1 )
Player.RemoveSpell HFCAbility
EndIf
set HFCStage to 10
endif

if HFCStage == 10
PrintToConsole "We get to the second stage of the script."
; Here is a long calculation which needs to be based on the player's skill WITHOUT the Ability added by this script
set HFCStage to 20
endif

if HFCTestVar == 20
PrintToConsole "Adding the ability."
Player.AddSpell HFCAbility
set HFCStage to 0
endif

End
Falls das so beabsichtigt und richtig ist, will ich nichts gesagt haben und ziehe mich wieder in mein stilles Eckchen zurück.