User Tag List

Results 1 to 3 of 3

Thread: +AND

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    +AND

    I need some way of doing the next ststement.

    object [group 1] overlaping object [group 1]
    + Alt val A = 3 [group 1]
    [color:#FF6666]AND[/color]
    + Alt val A = 3 [group 1]

    = Destroy one of [group 1]

    So what i'm trying to say is if 2 objects of the same group overlaps and both have the same alt val then destroy one.

    Any ideas will be welcome.

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: +AND

    Isn't it enough to do:

    + object [group 1] overlaping object [group 1]
    + Alt val A = 3 [group 1]
    + pick [group 1] at random
    --> Destroy one of [group 1]

    or maybe

    + Alt val A = 3 [group 1]
    + object [group 1] overlaping object [group 1]
    + pick [group 1] at random
    --> Destroy one of [group 1]

    Try them both and see if it works

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: +AND

    Your bottom example works better the top example seems to destroy even if only one alt val=3

    There is still a problem with the bottom example it destroys both objects in the group; it does not make sense.

Posting Permissions

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