Script error that seems correct
by James Anderson · in Technical Issues · 10/16/2008 (8:38 am) · 5 replies
Hi All,
I am having trouble with a script that I'm trying to run.
I have checked the syntax and I am sure its correct
but when it loads I'm getting this:
>>> Advanced script error report. Line 533.
>>> Some error context, with ## on sides of error halt:
Function HumanMaleAvatar:##:##doDismount(%this, %obj, %forced)
>>> Error report complete.
the line is:
Function HumanMaleAvatar::doDismount(%this, %obj, %forced)
any easy explainations for this (Im a bit of a noob)
FYI - I am taking this from Ken Finneys Book "3d game programming all in one"
Thanks
J.
Ps how do you all make those cool grey boxes with quoted code that I see in many posts?
I am having trouble with a script that I'm trying to run.
I have checked the syntax and I am sure its correct
but when it loads I'm getting this:
>>> Advanced script error report. Line 533.
>>> Some error context, with ## on sides of error halt:
Function HumanMaleAvatar:##:##doDismount(%this, %obj, %forced)
>>> Error report complete.
the line is:
Function HumanMaleAvatar::doDismount(%this, %obj, %forced)
any easy explainations for this (Im a bit of a noob)
FYI - I am taking this from Ken Finneys Book "3d game programming all in one"
Thanks
J.
Ps how do you all make those cool grey boxes with quoted code that I see in many posts?
#2
It should be:
function
not:
Function
Keywords in Torque are case sensitive.
10/16/2008 (11:28 am)
Actually the syntax isn't correct.It should be:
function
not:
Function
Keywords in Torque are case sensitive.
#3
10/16/2008 (12:41 pm)
So true, I didn't even notice that.
#4
10/16/2008 (1:12 pm)
Its an easy one to overlook. I almost missed it myself until I checked some code to get an idea of why it would throw an error there.
Associate Michael Hall
Distracted...
Whenever you Post a Reply you see this at the bottom of the editing/entry box: It's too bad that it doesn't show up when you create a thread.
edit: pre-coffee spelling and grammar