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?
upgrading to new version app.collided error
Moderator: Moderators
Re: upgrading to new version app.collided error
Hi,
This syntax works here:
Make sure you are using the version you can download here: viewtopic.php?f=2&t=1320
This syntax works here:
Code: Select all
int test() {
return CurrentModel.CollidedWith.Category==2;
}
Re: upgrading to new version app.collided error
Thanks. Sorry to ask such simple questions.