31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
|
void main()
|
||
|
{
|
||
|
location Loc6= GetLocation(GetWaypointByTag("watertrap"));
|
||
|
CreateObject(OBJECT_TYPE_PLACEABLE, "rightwaterhigh", Loc6);
|
||
|
SetLocalInt(GetModule(), "WaterTrapLim", 3);
|
||
|
object oLight1 = GetObjectByTag("SparklingLight1");
|
||
|
object oLight2 = GetObjectByTag("SparklingLight2");
|
||
|
|
||
|
|
||
|
DelayCommand(1.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(4.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(8.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(12.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(16.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(20.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(24.0, ExecuteScript("drown", oLight1));
|
||
|
DelayCommand(28.0, ExecuteScript("drown2", oLight1));
|
||
|
|
||
|
DelayCommand(1.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(4.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(8.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(12.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(16.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(20.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(24.0, ExecuteScript("drown", oLight2));
|
||
|
DelayCommand(28.0, ExecuteScript("drown2", oLight2));
|
||
|
|
||
|
|
||
|
|
||
|
}
|