FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Various states for IsUnitState

    Scheduled Pinned Locked Moved Modding & Tools
    3 Posts 2 Posters 242 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
      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
        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
          Rama
          last edited by

          That is very useful! Thank you!

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