tables enquiry

rnyacoubrnyacoub Member Posts: 132
edited January 2012 in Working with GS (Mac)
hi
i have stored 8 positions by storing their (x,y) coordinates in a 2x8 table, now can i determine which position has taken and which has been cleared
regards

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2012
    Hi, you can't at the moment, because tables are read-only; writing to tables is in a future GSC beta.

    You'd need booleans, one for each of your 8 positions, and be able to change the appropriate boolean to true as you want; then you'd be able to ascertain which position has been taken and which is cleared.

    So your best bet, by the sound of it, is to go down the "traditional" route and have 8 scene or game boolean attributes, and keep track of their state that way.


    ----------------------------------------------
    http://davidgriffinapps.co.uk/

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.