upgrading to new version app.collided error
Posted: Tue Jun 11, 2019 4:41 am
Hi Z game forums,
I just downloaded the newest version of z game editor (version 4.0) and tired out a game im working on (version 1.9.9).
I get an error upon running: Unknown property: CollidedCategory.
I'm assuming the syntax has changed for collision conditions.
my syntax is currently like this:
return app.CollidedCategory==2;
Iv'e tried changing this to
"CurrentModel.CollidedWith.Category==2"
but then I get an error
invalid statement expression
Can someone please tell me how should I change these instances?
I just downloaded the newest version of z game editor (version 4.0) and tired out a game im working on (version 1.9.9).
I get an error upon running: Unknown property: CollidedCategory.
I'm assuming the syntax has changed for collision conditions.
my syntax is currently like this:
return app.CollidedCategory==2;
Iv'e tried changing this to
"CurrentModel.CollidedWith.Category==2"
but then I get an error
invalid statement expression
Can someone please tell me how should I change these instances?