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

    Various states for IsUnitState

    Scheduled Pinned Locked Moved Modding & Tools
    3 Posts 2 Posters 214 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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post