19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
void main()
|
|
{
|
|
if(!GetLocalInt(OBJECT_SELF, "Lava_Pit"))
|
|
{
|
|
object oInvis1 = CreateObject(OBJECT_TYPE_PLACEABLE, "bq_lavcridewo", Location(OBJECT_SELF, Vector(5.0, 55.0, -2.0), 180.0));
|
|
object oInvis2 = CreateObject(OBJECT_TYPE_PLACEABLE, "bq_lavcridewo", Location(OBJECT_SELF, Vector(5.0, 45.0, -2.0), 90.0));
|
|
object oInvis3 = CreateObject(OBJECT_TYPE_PLACEABLE, "bq_lavcridewo", Location(OBJECT_SELF, Vector(5.0, 35.0, -2.0), 90.0));
|
|
object oInvis4 = CreateObject(OBJECT_TYPE_PLACEABLE, "bq_lavcridewo", Location(OBJECT_SELF, Vector(10.0, 45.0, -2.0), 90.0));
|
|
object oInvis5 = CreateObject(OBJECT_TYPE_PLACEABLE, "bq_lavcridewo", Location(OBJECT_SELF, Vector(10.0, 35.0, -2.0), 90.0));
|
|
effect eLava = EffectVisualEffect(350);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLava, oInvis1);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLava, oInvis2);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLava, oInvis3);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLava, oInvis4);
|
|
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLava, oInvis5);
|
|
SetLocalInt(OBJECT_SELF, "Lava_Pit", TRUE);
|
|
}
|
|
}
|