Direction Value expression not changing from zero?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I made a simple two line example to test the Direction value expression. When I press spacebar it randomly chooses one out of 4 directions (all 4 directions have different animations). However a counter always set to the Direction value doesn't switch from zero. Can anyone explain to me why the direction value doesn't change? It should change to either 0, 8, 16, or 24.

    I'm trying to record direction values in a level editor and it doesn't seem to change from zero.

  • Hey Sumo,

    this has always been a bit confusing (imo)
    but in short you should change "direction" and not "animation direction" of the object, in line 1 (direction >> select direction)
    "Dir" retrieves that data, even if it's been (I think mistakenly) placed under "animation - animation direction"

    Forcing direction will also force animation direction,
    forcing animation direction won't force "movement" direction
    (movement direction is used basically for builtin movements)

    a selection of my Fusion examples can be found Please login to see this link.

  • I've been hanging around Please login to see this link. which is a Fusion community. Took a long break from Fusion but I've recently gotten back into it.

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!