~AlphaFlame~
*zips in to beat Boco*
Quote:
|
Please explain the 'vecx(playerdir),playery+2+vecy(playerdir)
|
As stated in commands.doc:
Quote:
vecx( dir ) vertical movement vector (0,-1,0,1)
vecy( dir ) horizontal movement vector (-1,0,1,0)
|
If you know arrays, you'll know that it will call one of those four numbers based on the players direction.
And that's the best I'm explaining ^_^;