Flame Spawn
December 24th, 2005, 02:03 PM
script 500 OPEN
{
if (gameskill()==SKILL_HARD || SKILL_VERY_HARD)
{
if (getactorproperty(0,APROP_HEALTH) > 40)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 40)
{
damagething(1);
delay(const:8);
}
}
}
if (gameskill()==SKILL_NORMAL)
{
if (getactorproperty(0,APROP_HEALTH) > 60)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 60)
{
damagething(1);
delay(const:8);
}
}
}
if (gameskill()==SKILL_EASY || SKILL_VERY_EASY)
{
if (getactorproperty(0,APROP_HEALTH) > 80)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 80)
{
damagething(1);
delay(const:8);
}
}
}
delay(1);
restart;
}
The initial health is 40. Whenever I type in "Give Megasphere" in the console, it gave me the Megasphere stuff, but this script never reduced my health to whatever amount I defined for the skill levels. Any help would be appreciated.
{
if (gameskill()==SKILL_HARD || SKILL_VERY_HARD)
{
if (getactorproperty(0,APROP_HEALTH) > 40)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 40)
{
damagething(1);
delay(const:8);
}
}
}
if (gameskill()==SKILL_NORMAL)
{
if (getactorproperty(0,APROP_HEALTH) > 60)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 60)
{
damagething(1);
delay(const:8);
}
}
}
if (gameskill()==SKILL_EASY || SKILL_VERY_EASY)
{
if (getactorproperty(0,APROP_HEALTH) > 80)
{
print(s:"\cGThe wrath of Hell is stealing your health!");
until (getactorproperty(0,APROP_HEALTH) == 80)
{
damagething(1);
delay(const:8);
}
}
}
delay(1);
restart;
}
The initial health is 40. Whenever I type in "Give Megasphere" in the console, it gave me the Megasphere stuff, but this script never reduced my health to whatever amount I defined for the skill levels. Any help would be appreciated.