Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #library "WIND"
- script 1 enter
- {
- str class = "AmbientSound";
- delay(1);
- do {
- delay(1);
- int x = GetActorX(0);
- int y = GetActorY(0);
- int z = GetActorZ(0) + 1.0;
- int angle = GetActorAngle(0) >> 8;
- }
- until (Spawn("AmbientSound", x, y, z, 1516));
- Thing_Activate(1516);
- //SetThingSpecial(1516,1, 100,0);
- //delay(1);
- }
- script 2 enter
- {
- While (1)
- {
- If (CheckActorCeilingTexture(0, "F_SKY1"))
- {
- Thing_Activate(1516);
- SetThingSpecial(1516,1, 125,0);
- //SetMusic("d_shawn", 0);
- }
- Else
- {
- Thing_Activate(1516);
- SetThingSpecial(1516,2, 25,0);
- //SetMusic("d_runnin", 0);
- }
- Delay(1);
- }
- Delay(1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement