Jump to content

Home

Is there a script to reduce Viltality points?


DarthJebus05

Recommended Posts

Just a reduction of current health, and for it to go up again as you level.

 

Here is a simple example that should reduce the current health of Carth by 100:

void main() {
   object oVictim = GetObjectByTag("Carth");
   effect eOuch = EffectDamage(100);
   ApplyEffectToObject(DURATION_TYPE_INSTANT, eOuch, oVictim);
}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...