y the farfenugen???
by rennie moffat · in iTorque 2D · 09/07/2011 (11:56 am) · 3 replies
Am I getting a parse error at line....
nn is a sceneObject defined in the template. $nnSpeed is defined in onBehaviorAdd $nnCanMove is defined also in onBehaviorAdd.
????farfanuuugennN!!!
function nn_moveHere_behavior::onMouseUp(%this, %mod, %worldPos, %mouseClicks)
{
if($nnCanMove == true)
{
%this.xPos = %this.owner.position.x;
%this.yPos = %this.owner.position.y;
%this.nn.moveTo(%this.xPos, %this.yPos, $nnSpeed, true true, true, 0.1);
///the above line gives a parse error.
}
}nn is a sceneObject defined in the template. $nnSpeed is defined in onBehaviorAdd $nnCanMove is defined also in onBehaviorAdd.
????farfanuuugennN!!!
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#2
You should try Torsion, it gives output where those parsing errors happen.
09/07/2011 (12:59 pm)
@RennieYou should try Torsion, it gives output where those parsing errors happen.
#3
Sorry .
And yes I think I should but again, I am on a Mac. I did try using Crossover, Bootcamp (allows PC on MAc and splits your hard drive respectively) but my computer just got too clunky, uncomfortable if you will.
Anyhow, the day it is released on Mac I am will be the first to buy it.
09/07/2011 (1:15 pm)
Oh my god. Sorry .
And yes I think I should but again, I am on a Mac. I did try using Crossover, Bootcamp (allows PC on MAc and splits your hard drive respectively) but my computer just got too clunky, uncomfortable if you will.
Anyhow, the day it is released on Mac I am will be the first to buy it.
Torque 3D Owner Jacopo De Luca
Default Studio Name
Should be: