21 lines
368 B
Plaintext
21 lines
368 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
int nIdx;
|
||
|
if (GetLocalInt(OBJECT_SELF,"donesetup")!=2)
|
||
|
|
||
|
{
|
||
|
for (nIdx=1;nIdx<=7;nIdx++)
|
||
|
{
|
||
|
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_PERMANENT,EffectAreaOfEffect(AOE_PER_FOGKILL,"jw_wall_wind","jw_empty_script","jw_empty_script"),GetLocation(GetObjectByTag("jw_air_object"+IntToString(nIdx))));
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
SetLocalInt(OBJECT_SELF,"donesetup",2);
|
||
|
}
|
||
|
}
|