Page 1 of 1

console command for collisions on/off?

Posted: Thu Nov 29, 2012 3:40 pm
by Komag
other than pressing F1 while doing editor preview, is there a console command to toggle collisions, such as party:collisionsOn() or something like that?

Re: console command for collisions on/off?

Posted: Thu Nov 29, 2012 3:54 pm
by antti
This should work:

Code: Select all

party.disableCollisions = true

Re: console command for collisions on/off?

Posted: Thu Nov 29, 2012 6:23 pm
by petri
Actually I think that works only with the debug build, not the final one...

Re: console command for collisions on/off?

Posted: Thu Nov 29, 2012 6:45 pm
by Komag
I tried:
party:disableCollisions = true [function arguments expected near '=']
party:disableCollisions() = true [unexpected symbol near '=']
party:disableCollisions(true) [attempt to call method 'disableCollisions' (a nil value)]
nothing works. :cry:

Re: console command for collisions on/off?

Posted: Tue Aug 15, 2017 10:15 pm
by CES 2005

Code: Select all

party.disableCollisions = true
just returns "attempt to modify a read only value".