Create a free account to remove all ad content.

Author Topic:  IsGamerCount possible bug  (Read 676 times)

0 Members and 1 Guest are viewing this topic.

BrosDeBurrito

  • Jr. Member
  • *
  • Posts: 13
  • lucid dreams ;)
    • View Profile
  • Xbox: BrosDeBurrito
IsGamerCount possible bug
« on: August 22, 2021, 06:54:46 PM »
The line IsGamerCount seems to always ring true despite changing the player count number. Perhaps I'm using it incorrectly. this is how I've been trying to use it.

if

IsGamerCount [township] [>] [4]

then

teleport

endif


The teleport is initiated regardless of how many players are in the zone, 1 for example will ring true.
Ye boiiiiii

Crab

  • Legendary Member
  • *
  • Posts: 1457
  • Resident Crab
    • View Profile
Re: IsGamerCount possible bug
« Reply #1 on: August 23, 2021, 04:41:54 AM »
Hi there,

Is township a variable?

I've tested with the following and it works:

Code: [Select]
If
IsGamerCount [all] [>] [4]
Then
Notify [Greater than!]  [local]
Else
Notify [Less than!] [local]

Cheers,
Crab

BrosDeBurrito

  • Jr. Member
  • *
  • Posts: 13
  • lucid dreams ;)
    • View Profile
  • Xbox: BrosDeBurrito
Re: IsGamerCount possible bug
« Reply #2 on: August 23, 2021, 03:05:51 PM »
interesting I didn't know I could use all, will try that. So the script would have executed less then right? NVM just tested works great you are a great help whenever I'm in need, also i don't know if your remember but my issue with components is solved now too.
Ye boiiiiii

Crab

  • Legendary Member
  • *
  • Posts: 1457
  • Resident Crab
    • View Profile
Re: IsGamerCount possible bug
« Reply #3 on: August 23, 2021, 07:28:33 PM »
Hi there,

Thatís great Iím glad I could help you! You can find the script documentation here: link

Cheers,
Crab