#how 2 get the **number** of players inside a trigger volume?

1 messages · Page 1 of 1 (latest)

unkempt folio
#

I want to create a system where an event will trigger once there is only one player inside of a trigger volume, and I don't know how to get the # of players inside the trigger volume.

Basically how can I get the # of items inside a list as a int or float

livid timber
#

List get count

unkempt folio
#

alright, thanks

abstract arch
livid timber
#

I’ve never had trouble with it

unkempt folio
#

yea I tested after using the list get count and the trigger volume and it works well

abstract arch
#

Give it time, it’ll stop working

#

I use a CV1 trigger volume to get around it but there are probably better ways to - the cube overlap chip might be a good way but I haven’t tested that yet

honest stump
#

There's a specific chip for it actually, "trigger volume get player count" or something. It's slightly cheaper on CPU but barely 😅

warm kite
#

also for the logic id use on player entered or exited, execution integer switch with compare value 1

honest stump
#

Dude the switch chips are a blessing, they're able to save ssssooooo much CPU