A list of uses for each Function in the Expression Editor?

HymloeHymloe Member Posts: 1,653
edited April 2012 in Working with GS (Mac)
Hi there,

Is there a tutorial somewhere here within the Game Salad resources that explains (and perhaps gives examples) of all the FUNCTIONS available within the Expression Editor?

I just read how you can use floor(attribute) to load file names based off variable values, for example.

That is really empowering.

But I'd love to read through a whole document or list of the sorts of things you can do with ALL the functions in the expression editor.

Is there a tutorial or appendices that gives examples of the things you can do, and the syntax allowed within each FUNCTION type?

- Murray

Answers

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    http://cookbook.gamesalad.com/definitions

    All functions are listed there with a (function) after their name
  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    edited April 2012
    They are also listed in their manual if you prefer.

  • HymloeHymloe Member Posts: 1,653
    Thanks!

    Where would I find the rules about syntax?

    Like, I discovered by watching various videos and posts, that you can write things like...

    Display text: "self.Position.X"..",".."self.Position.Y"

    If I want an actor to display X,Y coordinates all within that one rule.

    Is that pretty much everything there is to know about the use of syntax with a rule?

    Sorry to perhaps sound like a simpleton. :)

    - Murray
  • HymloeHymloe Member Posts: 1,653
    I've been using Game Salad since about October last year. So I feel like I know a fair bit of it, now.

    But I guess I should read through the entire Cookbook!
    I didn't really know it was there.

    Great! Thanks guys.
  • macewanmacewan Member Posts: 214
    thank you for pointing that out

    http://cookbook.gamesalad.com/definitions

    All functions are listed there with a (function) after their name
Sign In or Register to comment.