ID:268268
May 22 2004, 5:53 am
|
|
how do i make it so you cant move at the login screen?
|
May 22 2004, 6:11 am
|
|
Make a variable called frozen, locked, or something similar. When you don't want something to move, set it to 1. In Move, check to see if the variable is true or false; and if it is true do not allow the movement.
|
In response to Loduwijk
|
|
Loduwijk wrote:
Make a variable called frozen, locked, or something similar. When you don't want something to move, set it to 1. In Move, check to see if the variable is true or false; and if it is true do not allow the movement. how do i check if its true or false |
In response to Vash_616
|
|
Check to see if the variable you made is either 1 or 0.Btw After the // is just notes i made to help you understand , it wont effect the coding at all.
mob |
In response to Turles9000
|
|
Online.dm:10:error:move:value not allowed here
Online.dm:10:error::empty type name (indentation error?) Online.dm:11:error::empty type name (indentation error?) Online.dm:13:error:return :instruction not allowed here |
In response to Vash_616
|
|
Well make sure you have the indentations correct
|
In response to Turles9000
|
|
How many indentations does it need
|
In response to Vash_616
|
|
mob That many indentations and i forgot to put () at Move so do that also.You should learn how to indent by yourself though. |
In response to Turles9000
|
|
oh ok, thanks
|
In response to Vash_616
|
|
Ummm...you REALLY need to stop just copying and pasting stuff directly from the forums. Though it's there to let you learn, it doesn't help you at all if you just copy+paste it into your project.
|
In response to Goku72
|
|
Goku72 wrote:
Ummm...you REALLY need to stop just copying and pasting stuff directly from the forums. Though it's there to let you learn, it doesn't help you at all if you just copy+paste it into your project. i didnt copy and paste, i asked how many indentations it needed, i never copyed and pasted what was from the forums i actually typed it. |