Past couple scripts havnt been working ~ PLZ HELP!
Posted: Mon Nov 15, 2004 8:38 pm
Here are all my targetnames and things like that. They are 100% exactly what I have entered into Radiant right down to the capitalization.
Script > Object
Key: targetname
Value: Fan1
Script > Object
Key: targetname
Value: Fan2
Script > Object
Key: targetname
Value: Fan3
Script > Object
Key: targetname
Value: Lift
Script > Object
Key: targetname
Value: Blast_Door
Trigger > Use
Key: targetname
Value: Fan_Start
Trigger > Use
Key: targetname
Value: Lift_Trigger
Trigger > Use
Key: targetname
Value: Blast_Door_Opener
Worldspawn
Key: ambientlight
Value: 70 70 70
-Key: suncolor
-Value: 70 70 70
--Key: script
--Value: HDL_Testing_Site.scr
Ok, now for my script: (sry if its a bit long but this problem is frustrating)
Main:
Thread Lift_Ops
$Lift time 3
Thread Blast_Door_Ops
$Blast_Door time 3
Thread Fan_Ops
$Fan1 time 5
$Fan2 time 2
$Fan3 time 2
Lift_Ops:
$Lift_Trigger waittill trigger
$Lift_Trigger nottriggerable
$Lift_Switch anim move
wait 3
$Lift loopsound Mec_ElevatorRun_01
$Lift moveup 504
waitmove
$Lift stoploopsound
wait 5
$Lift loopsound Mec_ElevatorRun_01
$Lift movedown 504
waitmove
$Lift stoploopsound
wait 3
$Lift_Trigger triggerable
$Lift_Switch anim move
goto Lift_Ops
end
Blast_Door_Ops:
$Blast_Door_Opener waittill trigger
$Blast_Door_Opener nottriggerable
$Blast_Door loopsound lighthouse_run
$Blast_Door moveup 80
waitmove
$Blast_Door stoploopsound
wait 5
$Blast_Door_Opener triggerable
$Blast_Door_Opener waittill trigger
$Blast_Door_Opener nottriggerable
$Blast_Door loopsound lighthouse_run
$Blast_Door movedown 80
waitmove
$Blast_Door stoploopsound
wait 5
Blast_Door_Opener triggerable
goto Blast_Door_Ops
end
Fan_Ops_Start:
$Fan_Start waittill trigger
$Fan_Start nottriggerable
wait 5
goto Fan_Ops
end
Fan_Ops:
iprintlnbold_noloc "Fans 2 and 3 comming online - please wait"
$Fan2 RotateY 360
$Fan3 RotateY 360
wait 3
$Fan2 RotateY 270
$Fan3 RotateY 270
wait 3
$Fan2 RotateY 180
$Fan3 RotateY 180
wait 3
$Fan2 RotateY 90
$Fan3 RotateY 90
iprintlnbold_noloc "Fans 2 and 3 online"
wait 5
iprintlnbold_noloc "Fan 1 comming online - please wait"
$Fan1 RotateX 360
wait 5
$Fan1 RotateX 315
wait 5
$Fan1 RotateX 270
wait 5
$Fan1 RotateX 225
wait 5
$Fan1 RotateX 180
wait 5
$Fan1 RotateX 135
wait 5
$Fan1 RotateX 90
wait 5
$Fan1 RotateX 45
iprintlnbold_noloc "Fan 1 online"
wait 5
$Fan_Start triggerable
$Fan_Start waittill trigger
wait 3
iprintlnbold_noloc "Fan 1 comming offline - please wait"
$Fan1 RotateX 90
wait 5
$Fan1 RotateX 135
wait 5
$Fan1 RotateX 180
wait 5
$Fan1 RotateX 225
wait 5
$Fan1 RotateX 270
wait 5
$Fan1 RotateX 315
wait 5
$Fan1 RotateX 360
wait 5
$Fan1 RotateX 0
iprintlnbold_noloc "Fan 1 offline"
wait 5
iprintlnbold_noloc "Fans 2 and 3 comming offline - please wait"
$Fan2 RotateY 180
$Fan3 RotateY 180
wait 3
$Fan2 RotateY 270
$Fan3 RotateY 270
wait 3
$Fan2 RotateY 360
$Fan3 RotateY 360
wait3
$Fan2 RotateY 0
$Fan3 RotateY 0
iprintlnbold_noloc "Fans 2 and 3 offline"
wait 5
goto Fan_Ops_Start
end
Map title: HDL_Testing_Site
Script title: HDL_Testing_Site.scr
.Map folder = main/maps/dm
.SCR folder = main/maps/dm
The Problem= Not one single scripted event happens when I press any of the triggers.
P.S. My clan name is now HDL and has been for quite some time, thougnt I'd just inform you of that irrelevant info... HDL = Home Defense Legion
Population: 3
Script > Object
Key: targetname
Value: Fan1
Script > Object
Key: targetname
Value: Fan2
Script > Object
Key: targetname
Value: Fan3
Script > Object
Key: targetname
Value: Lift
Script > Object
Key: targetname
Value: Blast_Door
Trigger > Use
Key: targetname
Value: Fan_Start
Trigger > Use
Key: targetname
Value: Lift_Trigger
Trigger > Use
Key: targetname
Value: Blast_Door_Opener
Worldspawn
Key: ambientlight
Value: 70 70 70
-Key: suncolor
-Value: 70 70 70
--Key: script
--Value: HDL_Testing_Site.scr
Ok, now for my script: (sry if its a bit long but this problem is frustrating)
Main:
Thread Lift_Ops
$Lift time 3
Thread Blast_Door_Ops
$Blast_Door time 3
Thread Fan_Ops
$Fan1 time 5
$Fan2 time 2
$Fan3 time 2
Lift_Ops:
$Lift_Trigger waittill trigger
$Lift_Trigger nottriggerable
$Lift_Switch anim move
wait 3
$Lift loopsound Mec_ElevatorRun_01
$Lift moveup 504
waitmove
$Lift stoploopsound
wait 5
$Lift loopsound Mec_ElevatorRun_01
$Lift movedown 504
waitmove
$Lift stoploopsound
wait 3
$Lift_Trigger triggerable
$Lift_Switch anim move
goto Lift_Ops
end
Blast_Door_Ops:
$Blast_Door_Opener waittill trigger
$Blast_Door_Opener nottriggerable
$Blast_Door loopsound lighthouse_run
$Blast_Door moveup 80
waitmove
$Blast_Door stoploopsound
wait 5
$Blast_Door_Opener triggerable
$Blast_Door_Opener waittill trigger
$Blast_Door_Opener nottriggerable
$Blast_Door loopsound lighthouse_run
$Blast_Door movedown 80
waitmove
$Blast_Door stoploopsound
wait 5
Blast_Door_Opener triggerable
goto Blast_Door_Ops
end
Fan_Ops_Start:
$Fan_Start waittill trigger
$Fan_Start nottriggerable
wait 5
goto Fan_Ops
end
Fan_Ops:
iprintlnbold_noloc "Fans 2 and 3 comming online - please wait"
$Fan2 RotateY 360
$Fan3 RotateY 360
wait 3
$Fan2 RotateY 270
$Fan3 RotateY 270
wait 3
$Fan2 RotateY 180
$Fan3 RotateY 180
wait 3
$Fan2 RotateY 90
$Fan3 RotateY 90
iprintlnbold_noloc "Fans 2 and 3 online"
wait 5
iprintlnbold_noloc "Fan 1 comming online - please wait"
$Fan1 RotateX 360
wait 5
$Fan1 RotateX 315
wait 5
$Fan1 RotateX 270
wait 5
$Fan1 RotateX 225
wait 5
$Fan1 RotateX 180
wait 5
$Fan1 RotateX 135
wait 5
$Fan1 RotateX 90
wait 5
$Fan1 RotateX 45
iprintlnbold_noloc "Fan 1 online"
wait 5
$Fan_Start triggerable
$Fan_Start waittill trigger
wait 3
iprintlnbold_noloc "Fan 1 comming offline - please wait"
$Fan1 RotateX 90
wait 5
$Fan1 RotateX 135
wait 5
$Fan1 RotateX 180
wait 5
$Fan1 RotateX 225
wait 5
$Fan1 RotateX 270
wait 5
$Fan1 RotateX 315
wait 5
$Fan1 RotateX 360
wait 5
$Fan1 RotateX 0
iprintlnbold_noloc "Fan 1 offline"
wait 5
iprintlnbold_noloc "Fans 2 and 3 comming offline - please wait"
$Fan2 RotateY 180
$Fan3 RotateY 180
wait 3
$Fan2 RotateY 270
$Fan3 RotateY 270
wait 3
$Fan2 RotateY 360
$Fan3 RotateY 360
wait3
$Fan2 RotateY 0
$Fan3 RotateY 0
iprintlnbold_noloc "Fans 2 and 3 offline"
wait 5
goto Fan_Ops_Start
end
Map title: HDL_Testing_Site
Script title: HDL_Testing_Site.scr
.Map folder = main/maps/dm
.SCR folder = main/maps/dm
The Problem= Not one single scripted event happens when I press any of the triggers.
P.S. My clan name is now HDL and has been for quite some time, thougnt I'd just inform you of that irrelevant info... HDL = Home Defense Legion
Population: 3