TriggerDebug requires a Text and not a String.
StringExternal TAKES a string and returns a text.
As Kueken said, IntToText(x) should take care of it just fine :)
I've used GroupAddGroup before and it worked for me..
Ok, did some testing and it works fine for me.
I have an idea what's the cause though.
Make sure that you properly initialize g2. It needs to be inited at least with PlayerGroupEmpty();
If you only declare it without initializing it you can add as many players as you want to, the count stays 0. Interestingly it doesn't throw any errors.
So this problem fits the symptoms.
TriggerDebug requires a Text and not a String.
StringExternal TAKES a string and returns a text.
As Kueken said, IntToText(x) should take care of it just fine :)
I've used GroupAddGroup before and it worked for me..
Ok, did some testing and it works fine for me.
I have an idea what's the cause though.
Make sure that you properly initialize g2. It needs to be inited at least with PlayerGroupEmpty();
If you only declare it without initializing it you can add as many players as you want to, the count stays 0. Interestingly it doesn't throw any errors.
So this problem fits the symptoms.
Btw -
Why is that StringExternal in there? StringExternal looks up the given string identifer in the externalized string table.
Try:
instead.
It probably first evaluates
!PlayerGroupCount(bbInfo[id].g)
Which is 1, but due to the negation it becomes 0.