FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    Various states for IsUnitState

    Scheduled Pinned Locked Moved Modding & Tools
    3 Posts 2 Posters 246 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      Rama
      last edited by

      Does anyone know all the states that can be tested for with IsUnitState?

      I know "Attacking" and "Moving" but what others? Is there a specific state for aggressive moves?

      1 Reply Last reply Reply Quote 0
      • speed2S Offline
        speed2
        last edited by

        https://github.com/FAForever/fa/blob/deploy/fafdevelop/engine/Sim/Unit.lua#L8

        1 Reply Last reply Reply Quote 1
        • R Offline
          Rama
          last edited by

          That is very useful! Thank you!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post