DarthJebus05 Posted February 14, 2008 Share Posted February 14, 2008 For the first KOTOR? Thanks, Jebus :EDIT: The script is for a party member. Link to comment Share on other sites More sharing options...
stoffe Posted February 14, 2008 Share Posted February 14, 2008 For the first KOTOR? A permanent reduction in maximum vitality, or just a reduction of current health (i.e. damage)? Link to comment Share on other sites More sharing options...
DarthJebus05 Posted February 14, 2008 Author Share Posted February 14, 2008 Just a reduction of current health, and for it to go up again as you level. Link to comment Share on other sites More sharing options...
stoffe Posted February 14, 2008 Share Posted February 14, 2008 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 More sharing options...
DarthJebus05 Posted February 14, 2008 Author Share Posted February 14, 2008 Thank you so much, Stoffe, that really helps. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.