Jump to content


Photo

Area Scripts


30 replies to this topic

#31 Salk

Salk
  • Modders
  • 2888 posts
  • Gender:Male
  • Location:Sweden

Posted 03 March 2017 - 08:07 AM

Well, that answers my question, thanks.

 

Though I realize it wouldn't help with my problem.

 

In short, I wanted to reset a variable if any of the party members are in a specific area but none is in another specific area so I solved with this:

    OR(6)
     AreaCheckObject("AR7800",Player1)
     AreaCheckObject("AR7800",Player2)
     AreaCheckObject("AR7800",Player3)
     AreaCheckObject("AR7800",Player4)
     AreaCheckObject("AR7800",Player5)
     AreaCheckObject("AR7800",Player6)
    !AreaCheckObject("AR7248",Player1)
    !AreaCheckObject("AR7248",Player2)
    !AreaCheckObject("AR7248",Player3)
    !AreaCheckObject("AR7248",Player4)
    !AreaCheckObject("AR7248",Player5)
    !AreaCheckObject("AR7248",Player6)

Edited by Salk, 03 March 2017 - 08:08 AM.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users