Past couple scripts havnt been working ~ PLZ HELP!
Moderator: Moderators
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
:sigh: nothing happened.
------ First Try ------
I tried my old method with Targetnames and the waittills, goto's, etc.
here is my script
im now going to try JV's thing that he showed me a diff way to do my scripts, hope i can do it 
------ First Try ------
I tried my old method with Targetnames and the waittills, goto's, etc.
here is my script
Code: Select all
main:
block_switch:
$switch waittill trigger
$switch nottriggerable
wait 1
$block hide
wait 1
$block show
wait 1
$block hide
wait 1
$block show
wait 1
goto block_switch
end
Last edited by HDL_CinC_Dragon on Thu Nov 18, 2004 9:38 pm, edited 1 time in total.
Your script doesn't work because it doesn't have a level waittill spawn line. Hence the game goes to the waittill trigger line immediately when the map is still loading... can't find the trigger (doesn't exist yet)... goes to the next line somehow manages to make your trigger nottriggerable and you're in the dead lock
... don't make a trigger nottriggerable if you should able to trigger things 
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
ah gotcha, ill try adding that. Im gunna try again with a diff script, I think i wrote it the way you told me to... but ill let you decide on that.
Code: Select all
main:
level waittill spawn
thread controls
local.switch
local.block
end
controls:
while(1)
{
local.switch waittill trigger
local.block hide
wait 1
local.block show
wait 1
local.block hide
wait 1
local.block show
wait 1
waitframe
}
end- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
oh yeah i forgot to mention:
I still have the trigger>use Key: targetname Value: switch
script>object Key: targetname Value: switch
Worldspawn Key: script Value: Operation_Friggen_Scope.scr (which is what the SCR is titled)
Is that bad?
----
Hey, you guys logged out! you cant leave me here! I dont know what to do! AHHHHHHHHHHHHHHHH!
I still have the trigger>use Key: targetname Value: switch
script>object Key: targetname Value: switch
Worldspawn Key: script Value: Operation_Friggen_Scope.scr (which is what the SCR is titled)
Is that bad?
----
Hey, you guys logged out! you cant leave me here! I dont know what to do! AHHHHHHHHHHHHHHHH!
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
Code: Select all
main:
level waittill spawn
thread controls
local.switch
local.block
endCode: Select all
main:
level waittill spawn
thread controls
endCode: Select all
controls:
while(1)
{
local.switch waittill trigger
local.block hide
wait 1
local.block show
wait 1
local.block hide
wait 1
local.block show
wait 1
waitframe
}
endCode: Select all
controls:
local.switch = $targetnameofyourswitch
local.block = $targetnameofyourblock
while(1)
{
local.switch waittill trigger
local.block hide
wait 1
local.block show
wait 1
local.block hide
wait 1
local.block show
wait 1
waitframe
}
end
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
ok, ill adjust the script and go for the test O_O
Test in progress, please wait...
it didnt work

Test in progress, please wait...
it didnt work
Code: Select all
main:
level waittill spawn
thread controls
end
controls:
local.block time 1.5
local.switch = $switch
local.block = $block
while(1)
{
local.switch waittill trigger
local.block moveup 64
wait 2.5
local.block movedown 64
wait 2.5
local.block moveup 64
wait 2.5
local.block movedown 64
wait 2.5
waitframe
}
end
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
well it didnt work but i did figure something out: Dont put Axis AI next to Allied AI:
http://img35.exs.cx/img35/6978/AxisAInexttoAlliedAI.jpg
* Edited by bdbodger recommended picture size 640x480
http://img35.exs.cx/img35/6978/AxisAInexttoAlliedAI.jpg
* Edited by bdbodger recommended picture size 640x480
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm


