I'm making a mission where there are 6 missions to do but I only want players to do 3 missions maximum
The way I intend to do it is like so: - Every mission has an object "attached" to them
- Once the players complete a mission, the attached object gets moved in the trigger
- The trigger counts how many objects there are in itself and if the amount is equal to 3.. It gets activated
How do I count how many objects are in the trigger and (optionally) how do I detect that a mission has been completed and activates a separate trigger?
Thanks a lot ❤️ Edit 1:
I found and edited a code, it works but only with units instead of objects but it's better than nothing:
(count (thislist select {alive _x })) isequalto 3