Page 1 of 1

Position in &char@ (CSBwin)

Posted: Sat Oct 29, 2005 12:40 pm
by beowuuf
The position variable in the character fetch refers to a grid of numbers of the cell, north facing, NOT a relative value relating to the party order you can see on the game menu

So the cell position has values:

0 1
3 2

If the party is north facing, the charcter positioned top right has position value '1'. However, if you turn the party left, so they face west, the top right character in the party is now actually standing with a position number of '0'

I mention this simply because of have had one or two buggy things that I assume was my coding, when it was my understanding - I always used psition as if it were refering to the party order grid


Paul, given this, is there an easy way to fetch the relative positon?

Posted: Sat Oct 29, 2005 5:01 pm
by Paul Stevens
Subtract Party Facing (mod 4).
Pseudo-code:

Code: Select all

pos facing - 3 and

Posted: Sat Oct 29, 2005 7:59 pm
by beowuuf
Yeah, sorry, I realised a little after posting this and forogt to delete the question