Create a free account to remove all ad content.

:  IsGamerCount possible bug  ( 1446 )

0 1

BrosDeBurrito

  • Jr. Member
  • *
  • : 13
  • lucid dreams ;)
  • Xbox: BrosDeBurrito
IsGamerCount possible bug
« : 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
  • *
  • : 1457
  • Resident Crab
  • 5 years on site 4 years on site 3 years on site Donated a giveaway prize. (Must be a prize of cash value.) 2 years on site 1 year on site
Re: IsGamerCount possible bug
« #1 : August 23, 2021, 04:41:54 AM »
Hi there,

Is township a variable?

I've tested with the following and it works:

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

Cheers,
Crab

BrosDeBurrito

  • Jr. Member
  • *
  • : 13
  • lucid dreams ;)
  • Xbox: BrosDeBurrito
Re: IsGamerCount possible bug
« #2 : 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
  • *
  • : 1457
  • Resident Crab
  • 5 years on site 4 years on site 3 years on site Donated a giveaway prize. (Must be a prize of cash value.) 2 years on site 1 year on site
Re: IsGamerCount possible bug
« #3 : 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

 


Powered by Advanced Topic Prefix Pro