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.
|
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 |
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 |
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 |
mob That many indentations and i forgot to put () at Move so do that also.You should learn how to indent by yourself though. |
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.
|
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. |