Page 1 of 2

Hi

Posted: Fri Sep 16, 2011 6:08 pm
by chomikmaster
Hi guys.
I'm o total noob beacuse i have a basic syntax error (which i don't know what this is).
:Syntax error: collisionmanger.lua:41'=' expected near 'order'
PLEASE HELP ME ASS FAST ASS YOU CAN
This is a script:

Code: Select all

then

print("collide") In order

if firstObject.collide ~= nil then firstObject:collide(secondObject) end

if secondObject.collide ~= nil then secondObject:collide(firstObject) end
If you wanna all script please wright here.

BYYYYYYYYYYYYYYYE
:awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome: :awesome:

Re: Hi

Posted: Fri Sep 16, 2011 6:47 pm
by GijsB
Steps =

1) Read Lua tutorials
2) Profit

Re: Hi

Posted: Fri Sep 16, 2011 7:40 pm
by chomikmaster
I have already read the tutorials and i dont found this in tutorials-i mean i found the same script but my its not working.

Re: Hi

Posted: Fri Sep 16, 2011 7:50 pm
by GijsB
sorry but with that snippet of code we cant help you

Re: Hi

Posted: Fri Sep 16, 2011 8:08 pm
by miko
chomikmaster wrote:

Code: Select all

print("collide") In order
What is that? There is clearly a syntax error. Please start with some simpler programs first, so you will know the syntax rules of Lua program.
And please don't capitalize the whole sentence.

Re: Hi

Posted: Fri Sep 16, 2011 8:41 pm
by chomikmaster
Miko,if you can write me what i should do in Polish :megagrin:
Tak,też jestem Polakiem :awesome:

Re: Hi

Posted: Fri Sep 16, 2011 8:46 pm
by Kingdaro
Just delete the "In order"

Re: Hi

Posted: Fri Sep 16, 2011 8:50 pm
by chomikmaster
Thanks :awesome:
That was... embarrasing. :P

Re: Hi

Posted: Fri Sep 16, 2011 9:13 pm
by Jasoco
Did you just call me an ass?

Re: Hi

Posted: Fri Sep 16, 2011 9:16 pm
by chomikmaster
YYYyyy??
...
wtf?