18 lines
359 B
Plaintext
18 lines
359 B
Plaintext
|
#include "x2_inc_toollib"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int nDoOnce = GetLocalInt(OBJECT_SELF, "DO_ONLY_ONCE");
|
||
|
if(nDoOnce == 1)
|
||
|
return;
|
||
|
SetLocalInt(OBJECT_SELF, "DO_ONLY_ONCE", 1);
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
int nColumns = 6;
|
||
|
int nRows = 6;
|
||
|
|
||
|
|
||
|
TLChangeAreaGroundTiles(OBJECT_SELF, X2_TL_GROUNDTILE_LAVA, nColumns, nRows, 0.3);
|
||
|
}
|