Results 1 to 3 of 3

  Click here to go to the first Developer post in this thread.  

Thread: Simple question about if/then statements

  1. #1

    Post

    Ok here is my question.

    if ((speed this) >= 200) then {titletext ["sometext", "PLAIN"]}

    this works, but i want it to be >=200 and <=400

    so how would I do this? I just need some help with the
    syntax




  2.   This is the last Developer post in this thread.   #2
    You almost had it

    if ((speed this) >= 200 and (speed this) <= 400)


    OR

    if ((speed this) >= 200 && (speed this) <= 400)
    "Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein

    Please report Arma 3 bugs in the Bug Tracker

  3. #3
    Sergeant
    Join Date
    Jan 12 2003
    Location
    Canada, eh?
    Posts
    173
    Author of the Thread

    Post

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •