Aller au contenu

Photo

Problem with SetMaxHealth()


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
FergusM

FergusM
  • Members
  • 460 messages
Have a creature script that tries to change the creature's max health.

SetCreatureProperty(OBJECT_SELF,PROPERTY_DEPLETABLE_HEALTH, 999.0, PROPERTY_VALUE_BASE);

works, however, swapping it out and changing nothing else with:

SetMaxHealth(OBJECT_SELF,999);

does not work. Any ideas as to what could be going wrong?