PoA_PRC8/_module/nss/hellfogspawn.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

13 lines
536 B
Plaintext

void main()
{
object a = GetEnteringObject();
if (GetIsPC(a) || (GetIsDM(a))){
if (GetLocalInt(GetModule(), "hellfog") != 2){
location hellfog1 = GetLocation(GetWaypointByTag("hellfog1"));
location hellfog2 = GetLocation(GetWaypointByTag("hellfog2"));
ApplyEffectAtLocation( DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_FOGFIRE, "hellfog"),hellfog1);
ApplyEffectAtLocation( DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_FOGFIRE, "hellfog"),hellfog2);
DelayCommand(1.0, SetLocalInt(GetModule(), "hellfog", 2));
} }
}