Feature Request - Access Table Value on left side of a rule

LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
Tables would be extremely useful as a way of tracking achievements and leader boards, if they could be accessed directly in a rule.

Comments

  • wpatenwpaten Member, PRO Posts: 281
    +1
  • ChakkuChakku Member Posts: 1,513
    @LiquidGameworks

    I do see this as a very convenient feature, but I don't believe GameSalad should invest too much time and resources into making it.

    In other words, if it is relatively easy for them to make it, then I say go ahead!
    If it is a time-consuming process, we can go without the convenience, and keep constraining table cell values to attrbiutes.


    If they could do this, however, I could make my games without using ANY ATTRIBUTES AT ALL!!! 8->

    Chakku
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    edited February 2013
    Sometimes I use table values directly in rules by placing an integer on the left side.

    e.g When game.zero is less than [tableValue]
    ... do something

    So in that example if a level score is more than zero I'll save it.

    Sometimes this is fine and it works well. But sometimes, for reasons I can't figure out, it breaks the game. So I have to first have a change attribute inside the object.

    Change self.score to [tableValue]

    and then have

    When game.zero is less than self.score
    ... do something

    So my guess is the GS devs still have some things to work out in the way that table data is accessed?

    But yeah, being able to put table values on the left side of the equation would be good too!

    On a related note, an expression editor inside the particle behavior where you select images would be nice.
  • ChakkuChakku Member Posts: 1,513
    @LiquidGameworks

    I think this thread would be good as a poll! :)

    Chakku
  • fogartyfogarty Member, PRO Posts: 181
    I'd like this feature too.
  • UtopianGamesUtopianGames Member Posts: 5,692
    As HoneyTribe says there are ways round it but its not ideal tbh.

    Darren.
  • hardkrafthardkraft Member Posts: 28

    I’m not sure if this has been implemented since but I used table values in rules on left and right sides by choosing a numerical expression. It doesn’t work with boolean values though.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Why are you posting in year old threads?

Sign In or Register to comment.