Natürlich float
Aargh.... bin ich dämlich
ModCurrentHealth erschien mir am einfachsten. Aber ist es wohl nicht. *kratzamkopf*
Dann muß ich mich mal mit den Zaubern befassen.
Ich gaub in Scripting for Dummies war da ein Beispiel *such*
Ich habs. So das ist jetzt meine Version davon.
begin VillaHeilung
short DoAddOnce
short DoRemoveOnce
;aktiviert erst, wenn aus Menü raus
if ( menumode == 1 )
return
endif
if ( GetStandingPC == 1 )
if ( DoAddOnce == 0 )
Player -> AddSpell, “xxxx”
Set DoAddOnce to 1
set DoRemoveOnce to 0
endif
endif
if ( GetStandingPC == 0)
if ( DoRemoveOnce == 0 )
Player -> Removespell, “xxx”
Set DoRemoveOnce to 1
set DoAddOnce to 0
endif
endif
end
|