GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Stupid EZ Question (Tables)

slattzo2000slattzo2000 Posts: 15Member
edited September 2012 in Working with GS (Mac)
I'm doing a "fun facts" app -- and want to save the user's favorites
So i've loaded the facts into a table, and simple have two columns:
FACT | FAVORITE
when someone selects a favorite, i change the value from 0 to 1
I display the facts randomly, and that works great,
but how do i only display their favorites (ie. table entries where column 2 is valued at 1)

THANKS IN ADVANCE.

Comments

  • slattzo2000slattzo2000 Posts: 15Member
    Got it -- made a game-wide attribute and did simple logic comparisons (btw: flying bacon studios logic vids got my brain jump-started) Def took note of game vs scene-wide attributes and that fixed things :)
This discussion has been closed.