You are not logged in.
Pages: 1
Hi. I've been having trouble with a companion object I wrote:
However if we look in the .obj file I wrote and take a look at line 22, there isn't a "{" even there!
So, why is it saying there's a "{" on that line when there isn't?
My Souncloud
My YouTube Channel
Offline
Check the objects you have edited before. There is most certainly a } missing somewhere.
Offline
I found the problem and it had to do with the fact that in Notepad, any space using the Tab key means the same thing as pressing enter to get a new line. For example:
Although it looked like this
object ".snc_companion"
{
requires 0.2.0
always_active
state "main"
{
create_child ".snc_spindash_controller"
create_child ".snc_peelout_controller"
create_child ".snc_speed_check"
destroy
}
}
It was actually being read as this
object ".snc_companion"
{ requires 0.2.0 always_active state "main"
{ create_child ".snc_spindash_controller create_child ".snc_peelout_controller" create_child ".snc_speed_check"
destroy
}
}
(Or something like that)
My Souncloud
My YouTube Channel
Offline
I reccomend you switch over to Vim or Notepad++, as they are more suitable for programming, with automatic bracket completion and line count, for example
https://discord.gg/w8JqM7m ---> Open Surge's Discord server
Offline
I've had that problem before, although i've never seen that with Notepad before...
Not active much anymore.
The only things I do now is just let inspiration come to me when it's needed.
Also bad profile pic because I don't have anything else in mind.
Offline
Pages: 1