ID:133549
Jun 11 2008, 11:46 am
|
|
We should be able to use NORTH, SOUTH, EAST, WEST, etc to set objects' directions in the map editor.
|
In response to Kaiochao
|
|
Yeah, I know, but it's easier to remember the names.
The diagonals are the |'ed (or, simpler, just added together) together forms of the cardinal directions so: NORTHEAST=NORTH&EAST=6 NORTHWEST=9 etc |
Last I checked, it was already possible to use constants. But they would be converted to their numerical counterparts upon adding/updating the map instance.
I'm not too sure about the | operator being supported in there though. If not, it should be. -- Data |
In response to Android Data
|
|
No, try setting an object's dir var to NORTH in the instance editor and you'll get an error message.
I'm not sure about the | operator either. |
In response to Android Data
|
|
It's changed. I know it used to be allowed, but it doesn't work anymore.
|
1=NORTH
2=SOUTH
4=EAST?
8=WEST?
and I don't remember the diagonals.