is LOS add/clear objects global?

0 favourites
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • tarek2

    I guess it's for performance as it's easier to maintain just one list for all the instances than each instance having its own list but this is just speculation not sure if it's 100% accurate.

    this makes total sense.

    so what I really need to do is set up a different los behavior for each "faction".

    yes I would love to be able to individually set obstacles

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • lionz

    Families are good for applying one thing to everything in the family to minimize redundant events but they're not good for doing the opposite and setting one family member with one option and another family member with another option

    I disagree with this. I do this all the time, I just check the objects "race" to figure out which faction it belongs to.

  • Yes but you can't do that when adding it as an obstacle, it is the object or entire 'family'

  • lionz yes, that was the point of the thread. the doc doesn't really explain it like this... so now I need to set up separate events for "ray intersected" for each faction of objects.

    luckily I only have 1 weapon that uses ray casting. The laser sight beam uses raycasting but that is only for the player and for the turrets. So those will also need to be separated.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)