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
Are you trying to break in on purpose...?

Let's see how the game 'sees' this....
NIL time 1.5
set variable local.switch = $switch object
set variable local.block = $block object
Obviously in the first line the game doesn't yet know local.block is $block, because you have defined it later. Make it like this:
Now the game 'sees':
set variable local.switch = $switch object
set variable local.block = $block object
[$block object] time 1.5 -- ok consider it done, your script is my command
Also you need to add 'move' and 'waitmove' lines... otherwise the block won't move an inch
Code: Select all
local.block time 1.5
local.switch = $switch
local.block = $block Let's see how the game 'sees' this....
NIL time 1.5
set variable local.switch = $switch object
set variable local.block = $block object
Obviously in the first line the game doesn't yet know local.block is $block, because you have defined it later. Make it like this:
Code: Select all
local.switch = $switch
local.block = $block
local.block time 1.5
set variable local.switch = $switch object
set variable local.block = $block object
[$block object] time 1.5 -- ok consider it done, your script is my command
Also you need to add 'move' and 'waitmove' lines... otherwise the block won't move an inch
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
ok, where do i put these 'move' and 'waitmove's
Code: Select all
main:
level waittill spawn
thread controls
end
controls:
local.block time 3
local.switch = $switch
local.block = $block
while(1)
{
local.switch waittill trigger
local.block moveup 256
waitmove
local.block movedown 256
waitmove
local.block moveup 256
waitmove
local.block movedown 256
waitmove
waitframe
}
goto controls
end- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
i dunno... ill take it out... i had those waitmoves there eversince i wrote the script.... but ill make them local.clock waitmoves and i forgot to move the local.block time 3
ill get it right now...
But unfortunatly, i cant test it. I cant load up MOHAA cuz i just got a new vid card (GeForce FX 5200 Asylum with 256 mb AGP - Special additon= 10% faster than normal 5200 model) and MOHAA just crashes saying it cant load the OpenGL... AIM does that too when i press enter to send a message, AIM crashes.
Wow, 4 pages already. Glad so many ppl are helping me
(mainly JV_map, Bjarne gave up on me lol)
Code: Select all
main:
level waittill spawn
thread controls
end
controls:
local.switch = $switch
local.block = $block
local.block time 3
while(1)
{
local.switch waittill trigger
local.block moveup 256
local.block waitmove
local.block movedown 256
local.block waitmove
local.block moveup 256
local.block waitmove
local.block movedown 256
local.block waitmove
waitframe
}
endBut unfortunatly, i cant test it. I cant load up MOHAA cuz i just got a new vid card (GeForce FX 5200 Asylum with 256 mb AGP - Special additon= 10% faster than normal 5200 model) and MOHAA just crashes saying it cant load the OpenGL... AIM does that too when i press enter to send a message, AIM crashes.
Wow, 4 pages already. Glad so many ppl are helping me
- 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
ITS NOT WORKING STILL! SHOOT MEEEEEE!!
ill work on it tomarrow, i have TON of homework.
Code: Select all
main:
level waittill spawn
thread controls
end
controls:
local.switch = $switch
local.block = $block
local.block time 3
while(1)
{
local.switch waittill trigger
local.block moveup 256
local.block waitmove
local.block movedown 256
local.block waitmove
local.block moveup 256
local.block waitmove
local.block movedown 256
local.block waitmove
waitframe
}
end- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm


